[packages] asterisk-1.8.x: fix compilation for missing res_ninit #10974
[openwrt/svn-archive/archive.git] / net / asterisk-1.8.x / patches / 500-nres.patch
1 --- a/configure
2 +++ b/configure
3 @@ -24234,7 +24234,7 @@ $as_echo "$ac_try_echo") >&5
4 $as_echo "yes" >&6; }
5
6 cat >>confdefs.h <<\_ACEOF
7 -#define HAVE_RES_NINIT 1
8 +//#define HAVE_RES_NINIT 1
9 _ACEOF
10
11 { $as_echo "$as_me:$LINENO: checking for library containing res_9_ndestroy" >&5