summaryrefslogtreecommitdiff
path: root/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-pbx.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-12-15 08:22:57 +0000
committerNicolas Thill <nico@openwrt.org>2005-12-15 08:22:57 +0000
commita8780cfe237c54b9d0f606ef038b6ecbd3cf633e (patch)
treed593a0cd1421310536685952b23c32162d3f3af5 /openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-pbx.patch
parente3f2355a129d934a24400f9931f5bd1570995ce4 (diff)
downloadmtk-20170518-a8780cfe237c54b9d0f606ef038b6ecbd3cf633e.zip
mtk-20170518-a8780cfe237c54b9d0f606ef038b6ecbd3cf633e.tar.gz
mtk-20170518-a8780cfe237c54b9d0f606ef038b6ecbd3cf633e.tar.bz2
update asterisk to new upstream release (v1.2.1)
SVN-Revision: 2682
Diffstat (limited to 'openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-pbx.patch')
-rw-r--r--openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-pbx.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-pbx.patch b/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-pbx.patch
new file mode 100644
index 0000000..f1d2a63
--- /dev/null
+++ b/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-pbx.patch
@@ -0,0 +1,22 @@
+diff -ruN asterisk-1.2.0-old/pbx/Makefile asterisk-1.2.0-new/pbx/Makefile
+--- asterisk-1.2.0-old/pbx/Makefile 2005-11-01 22:53:30.000000000 +0100
++++ asterisk-1.2.0-new/pbx/Makefile 2005-12-04 19:23:48.000000000 +0100
+@@ -38,6 +38,9 @@
+
+ KDE_CONSOLE_OBJS=pbx_kdeconsole_main.o pbx_kdeconsole.o
+
++CFLAGS += $(EXTRA_CFLAGS)
++PBX_LIBS += $(EXTRA_PBX_MODULES)
++
+ all: depend $(PBX_LIBS)
+
+ clean:
+@@ -59,7 +62,7 @@
+ $(CC) $(SOLINK) -o $@ $(KDE_CONSOLE_OBJS) $(KDE_LIBS)
+
+ pbx_dundi.so: dundi-parser.o pbx_dundi.o
+- $(CC) $(SOLINK) -o $@ ${CYGSOLINK} pbx_dundi.o dundi-parser.o -lz ${CYGSOLIB}
++ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} pbx_dundi.o dundi-parser.o $(EXTRA_LDFLAGS) -lz ${CYGSOLIB}
+
+ %.moc : %.h
+ $(MOC) $< -o $@