avoid requiring the member <defdname> in struct <__res_state> of libc which is bloated, deprecated and disabled in uClibc

git-svn-id: svn://svn.openwrt.org/openwrt/packages@21876 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2010-06-22 10:04:38 +00:00
parent 1f8c4e5f53
commit 11b1174313

View File

@ -0,0 +1,11 @@
--- qt-everywhere-opensource-src-4.7.0-beta1/src/network/kernel/qhostinfo_unix.cpp 2010-05-04 02:43:25.000000000 +0200
+++ qt-everywhere-opensource-src-4.7.0-beta1/src/network/kernel/qhostinfo_unix.cpp.new 2010-06-20 14:43:48.565315801 +0200
@@ -326,7 +326,7 @@
QString QHostInfo::localDomainName()
{
-#if !defined(Q_OS_VXWORKS)
+#if 0
resolveLibrary();
if (local_res_ninit) {
// using thread-safe version