aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit8142ec59fcf9b3c42b57bf6126547b1f18f56582 (patch)
tree0379b17c6c5f7fe7bf3cf66188bc0e203990a49a /package/asterisk
parent8b72c33975e1c6a622bb2f42251b035430b3022e (diff)
downloadupstream-8142ec59fcf9b3c42b57bf6126547b1f18f56582.tar.gz
upstream-8142ec59fcf9b3c42b57bf6126547b1f18f56582.tar.bz2
upstream-8142ec59fcf9b3c42b57bf6126547b1f18f56582.zip
fix asterisk build when newt headers are present on the host machine
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@757 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/asterisk')
-rw-r--r--package/asterisk/patches/no-newt-check.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/asterisk/patches/no-newt-check.diff b/package/asterisk/patches/no-newt-check.diff
new file mode 100644
index 0000000000..dac164f7ba
--- /dev/null
+++ b/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: