let ipkg fail when a package file to be installed is not found
[openwrt/svn-archive/archive.git] / openwrt / package / asterisk / patches / asterisk-1.0.7-dns.patch
1 diff -ruN asterisk-1.0.7-old/dns.c asterisk-1.0.7-new/dns.c
2 --- asterisk-1.0.7-old/dns.c 2004-06-22 22:11:15.000000000 +0200
3 +++ asterisk-1.0.7-new/dns.c 2005-03-19 17:38:06.000000000 +0100
4 @@ -153,7 +153,13 @@
5
6 #if defined(res_ninit)
7 #define HAS_RES_NINIT
8 -#else
9 +#endif
10 +
11 +#ifdef __UCLIBC__
12 +#undef HAS_RES_NINIT
13 +#endif
14 +
15 +#ifndef HAS_RES_NINIT
16 AST_MUTEX_DEFINE_STATIC(res_lock);
17 #if 0
18 #warning "Warning, res_ninit is missing... Could have reentrancy issues"