[packages] asterisk-1.8.x: fix compilation for missing res_ninit #10974
authorzandbelt <zandbelt@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 11 Mar 2012 15:41:27 +0000 (15:41 +0000)
committerzandbelt <zandbelt@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 11 Mar 2012 15:41:27 +0000 (15:41 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30878 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/asterisk-1.8.x/patches/500-nres.patch [new file with mode: 0644]

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 (file)
index 0000000..96c0f2e
--- /dev/null
@@ -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