[zaptel-commits] tzafrir: branch 1.4 r2837 - in /branches/1.4: ./ Makefile.kernel26

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Tue Aug 14 19:27:03 CDT 2007


Author: tzafrir
Date: Tue Aug 14 19:27:03 2007
New Revision: 2837

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2837
Log:
Fix building on older CentOS 4 and Trixbox.

Merged revisions 2836 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.2

Modified:
    branches/1.4/   (props changed)
    branches/1.4/Makefile.kernel26

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/Makefile.kernel26
URL: http://svn.digium.com/view/zaptel/branches/1.4/Makefile.kernel26?view=diff&rev=2837&r1=2836&r2=2837
==============================================================================
--- branches/1.4/Makefile.kernel26 (original)
+++ branches/1.4/Makefile.kernel26 Tue Aug 14 19:27:03 2007
@@ -1,4 +1,11 @@
 EXTRA_CFLAGS := -I$(src)
+
+# fix typo present in CentOS and RHEL 2.6.9 kernels
+BAD_KERNELS_VERS := 22 34 34.0.1 34.0.2
+BAD_KERNELS := $(foreach ver,$(BAD_KERNELS_VERS),2.6.9-$(ver).EL 2.6.9-$(ver).ELsmp)
+ifneq (,$(filter $(KVERS),$(BAD_KERNELS)))
+EXTRA_CFLAGS+=-Drw_lock_t=rwlock_t
+endif
 
 zaptel-objs := zaptel-base.o
 




More information about the zaptel-commits mailing list