branch Attitude Adjustment packages
[12.09/packages.git] / libs / ptlib / patches / 020-uclibc-res_nsearch.patch
1 diff -Naur ptlib-2.10.4.orig/src/ptclib/pdns.cxx ptlib-2.10.4/src/ptclib/pdns.cxx
2 --- ptlib-2.10.4.orig/src/ptclib/pdns.cxx       2012-03-12 13:34:10.000000000 -0400
3 +++ ptlib-2.10.4/src/ptclib/pdns.cxx    2012-03-12 13:35:05.000000000 -0400
4 @@ -37,6 +37,10 @@
5  #include <ptclib/url.h>
6  #include <ptlib/ipsock.h>
7  
8 +#if defined(__UCLIBC__)
9 +       #undef P_HAS_RES_NINIT
10 +#endif
11 +
12  #define new PNEW
13  
14  #define USE_RESOLVER_CACHING    1