pass ARCH down to uClibc
[buildroot.git] / package / asterisk / asterisk_no_res_ninit.patch
blob1dff2f305140e0a545a84ddca9bbeada517bbbdb
1 diff -ur /tmp/asterisk-1.2.0-beta1/dns.c asterisk-1.2.0-beta1/dns.c
2 --- /tmp/asterisk-1.2.0-beta1/dns.c 2005-08-14 04:23:33.000000000 +0200
3 +++ asterisk-1.2.0-beta1/dns.c 2005-08-31 09:42:36.000000000 +0200
4 @@ -157,7 +157,7 @@
5 return 0;
8 -#if defined(res_ninit)
9 +#if (defined(res_ninit) && !defined(__UCLIBC__))
10 #define HAS_RES_NINIT
11 #else
12 AST_MUTEX_DEFINE_STATIC(res_lock);