From 476ca9be7027bcb5495185831d8a2bdb833d8ed4 Mon Sep 17 00:00:00 2001 From: Hans Zandbelt Date: Sun, 11 Mar 2012 15:41:27 +0000 Subject: [PATCH] [packages] asterisk-1.8.x: fix compilation for missing res_ninit #10974 SVN-Revision: 30878 --- 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 0000000000..96c0f2efe9 --- /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 -- 2.30.2