From f5e350ff9ca6c74d3e15bbc7763d7e5dd34e4d6b Mon Sep 17 00:00:00 2001 From: zandbelt Date: Sun, 11 Mar 2012 15:41:27 +0000 Subject: [PATCH] [packages] asterisk-1.8.x: fix compilation for missing res_ninit #10974 git-svn-id: svn://svn.openwrt.org/openwrt/packages@30878 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/asterisk-1.8.x/patches/500-nres.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/asterisk-1.8.x/patches/500-nres.patch diff --git a/net/asterisk-1.8.x/patches/500-nres.patch b/net/asterisk-1.8.x/patches/500-nres.patch new file mode 100644 index 000000000..96c0f2efe --- /dev/null +++ b/net/asterisk-1.8.x/patches/500-nres.patch @@ -0,0 +1,11 @@ +--- a/configure ++++ b/configure +@@ -24234,7 +24234,7 @@ $as_echo "$ac_try_echo") >&5 + $as_echo "yes" >&6; } + + cat >>confdefs.h <<\_ACEOF +-#define HAVE_RES_NINIT 1 ++//#define HAVE_RES_NINIT 1 + _ACEOF + + { $as_echo "$as_me:$LINENO: checking for library containing res_9_ndestroy" >&5