[packages] fix ptlib compile for uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32107 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f8932c6f91
commit
747889f547
14
libs/ptlib/patches/020-uclibc-res_nsearch.patch
Normal file
14
libs/ptlib/patches/020-uclibc-res_nsearch.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -Naur ptlib-2.10.4.orig/src/ptclib/pdns.cxx ptlib-2.10.4/src/ptclib/pdns.cxx
|
||||||
|
--- ptlib-2.10.4.orig/src/ptclib/pdns.cxx 2012-03-12 13:34:10.000000000 -0400
|
||||||
|
+++ ptlib-2.10.4/src/ptclib/pdns.cxx 2012-03-12 13:35:05.000000000 -0400
|
||||||
|
@@ -37,6 +37,10 @@
|
||||||
|
#include <ptclib/url.h>
|
||||||
|
#include <ptlib/ipsock.h>
|
||||||
|
|
||||||
|
+#if defined(__UCLIBC__)
|
||||||
|
+ #undef P_HAS_RES_NINIT
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#define new PNEW
|
||||||
|
|
||||||
|
#define USE_RESOLVER_CACHING 1
|
Loading…
x
Reference in New Issue
Block a user