[packages] asterisk-1.8.x: fix compilation for missing res_ninit #10974
authorHans Zandbelt <hans.zandbelt@gmail.com>
Sun, 11 Mar 2012 15:41:27 +0000 (15:41 +0000)
committerHans Zandbelt <hans.zandbelt@gmail.com>
Sun, 11 Mar 2012 15:41:27 +0000 (15:41 +0000)
SVN-Revision: 30878

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