English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Diff of /branches/common-nfo/package/asterisk-12/patches/patch-dns_c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3426 by tg, Wed Jul 18 12:45:43 2007 UTC revision 3427 by tg, Wed Aug 8 11:08:41 2007 UTC
# Line 1  Line 1 
1  $FreeWRT$  $FreeWRT$
2  --- asterisk-1.2.14.orig/dns.c  2005-11-29 19:24:39.000000000 +0100  
3  +++ asterisk-1.2.14/dns.c       2007-01-28 15:36:08.000000000 +0100          rejected upstream, cf. http://bugs.digium.com/view.php?id=10251
4  @@ -175,7 +175,13 @@ static int dns_parse_answer(void *contex          they're clueless, because uClibc definitively does NOT have
5            __res_ninit() and friends, yet they say it has
6    
7    --- asterisk-1.2.22.orig/dns.c  2007-07-16 22:46:58.000000000 +0200
8    +++ asterisk-1.2.22/dns.c       2007-07-19 01:09:18.000000000 +0200
9    @@ -234,10 +234,16 @@ static int dns_parse_answer(void *contex
10    
11   #if defined(res_ninit)   #if defined(res_ninit)
12   #define HAS_RES_NINIT   #define HAS_RES_NINIT
 -#else  
13  +#endif  +#endif
14  +  +
15  +#ifdef __UCLIBC__  +#ifdef __UCLIBC__
16  +#undef HAS_RES_NINIT  +#undef HAS_RES_NINIT
17  +#endif  +#endif
18  +  +
19     #if defined(res_ndestroy)
20     #define HAS_RES_NDESTROY
21     #endif
22    -#else
23  +#ifndef HAS_RES_NINIT  +#ifndef HAS_RES_NINIT
24   AST_MUTEX_DEFINE_STATIC(res_lock);   AST_MUTEX_DEFINE_STATIC(res_lock);
25   #if 0   #if 0

Legend:
Removed from v.3426  
changed lines
  Added in v.3427

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20