summaryrefslogtreecommitdiffstats
path: root/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-channels.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-15 08:22:57 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-15 08:22:57 +0000
commit9d5362a82a7c66b67f7156c3a58d90b28b7115b7 (patch)
tree96f32416dfe392a50f5833ffc6b30fd7cd90450d /openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-channels.patch
parentd0921c4da80bff0431e4d88d4157dc0117942dc7 (diff)
update asterisk to new upstream release (v1.2.1)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2682 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-channels.patch')
-rw-r--r--openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-channels.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-channels.patch b/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-channels.patch
new file mode 100644
index 000000000..d5ac6ad7a
--- /dev/null
+++ b/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-channels.patch
@@ -0,0 +1,22 @@
+diff -ruN asterisk-1.2.0-old/channels/Makefile asterisk-1.2.0-new/channels/Makefile
+--- asterisk-1.2.0-old/channels/Makefile 2005-12-04 04:48:40.000000000 +0100
++++ asterisk-1.2.0-new/channels/Makefile 2005-12-04 23:30:19.000000000 +0100
+@@ -155,6 +155,9 @@
+
+ #CFLAGS+=$(shell [ -f $(ZAPDIR)/libzap.a ] && echo "-I$(ZAPDIR)")
+
++CFLAGS += $(EXTRA_CFLAGS)
++CHANNEL_LIBS += $(EXTRA_CHAN_MODULES)
++
+ all: depend $(CHANNEL_LIBS)
+
+ clean:
+@@ -162,7 +165,7 @@
+ rm -f busy.h ringtone.h gentone gentone-ulaw
+
+ %.so : %.o
+- $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} ${LIBS}
++ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB}
+
+ ifneq ($(wildcard .depend),)
+ include .depend