summaryrefslogtreecommitdiff
path: root/openwrt/package/asterisk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-29 13:02:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-29 13:02:12 +0000
commita640b4887f723ae81972db2e53e274d3afd5bd3b (patch)
tree938ba708683ab93e4ad6691887048243e32e3a6c /openwrt/package/asterisk
parent1bc847dc154a518443ee92198eaabd86a88c6f56 (diff)
downloadmtk-20170518-a640b4887f723ae81972db2e53e274d3afd5bd3b.zip
mtk-20170518-a640b4887f723ae81972db2e53e274d3afd5bd3b.tar.gz
mtk-20170518-a640b4887f723ae81972db2e53e274d3afd5bd3b.tar.bz2
fix asterisk build when newt headers are present on the host machine
SVN-Revision: 757
Diffstat (limited to 'openwrt/package/asterisk')
-rw-r--r--openwrt/package/asterisk/patches/no-newt-check.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/asterisk/patches/no-newt-check.diff b/openwrt/package/asterisk/patches/no-newt-check.diff
new file mode 100644
index 0000000..dac164f
--- /dev/null
+++ b/openwrt/package/asterisk/patches/no-newt-check.diff
@@ -0,0 +1,12 @@
+diff -urN asterisk-1.0.7.old/astman/Makefile asterisk-1.0.7.dev/astman/Makefile
+--- asterisk-1.0.7.old/astman/Makefile 2004-06-26 21:25:39.000000000 +0200
++++ asterisk-1.0.7.dev/astman/Makefile 2005-04-29 15:54:53.000000000 +0200
+@@ -8,7 +8,7 @@
+ CFLAGS+=-I/usr/local/include -L/usr/local/lib
+ endif
+
+-TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else if [ -f /usr/local/include/newt.h ]; then echo "astman"; else echo "none" ; fi ; fi)
++TARGET=none
+ all: depend $(TARGET)
+
+ install: