From: John Crispin Date: Thu, 7 Jun 2012 14:55:32 +0000 (+0000) Subject: [packages] fix ptlib compile for uclibc X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9569f3b7ad3a0472f46ecefda539b107323481ad;p=openwrt%2Fsvn-archive%2Farchive.git [packages] fix ptlib compile for uclibc SVN-Revision: 32107 --- diff --git a/libs/ptlib/patches/020-uclibc-res_nsearch.patch b/libs/ptlib/patches/020-uclibc-res_nsearch.patch new file mode 100644 index 0000000000..f644350f33 --- /dev/null +++ b/libs/ptlib/patches/020-uclibc-res_nsearch.patch @@ -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 + #include + ++#if defined(__UCLIBC__) ++ #undef P_HAS_RES_NINIT ++#endif ++ + #define new PNEW + + #define USE_RESOLVER_CACHING 1