From a640b4887f723ae81972db2e53e274d3afd5bd3b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 29 Apr 2005 13:02:12 +0000 Subject: [PATCH] fix asterisk build when newt headers are present on the host machine SVN-Revision: 757 --- openwrt/package/asterisk/patches/no-newt-check.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 openwrt/package/asterisk/patches/no-newt-check.diff 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 00000000000..dac164f7bab --- /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: