avoid requiring the member <defdname> in struct <__res_state> of libc which is bloate...
[openwrt/svn-archive/archive.git] / Xorg / lib / qt4 / patches / 100-do_not_use_res.defdname.patch
1 --- qt-everywhere-opensource-src-4.7.0-beta1/src/network/kernel/qhostinfo_unix.cpp 2010-05-04 02:43:25.000000000 +0200
2 +++ qt-everywhere-opensource-src-4.7.0-beta1/src/network/kernel/qhostinfo_unix.cpp.new 2010-06-20 14:43:48.565315801 +0200
3 @@ -326,7 +326,7 @@
4
5 QString QHostInfo::localDomainName()
6 {
7 -#if !defined(Q_OS_VXWORKS)
8 +#if 0
9 resolveLibrary();
10 if (local_res_ninit) {
11 // using thread-safe version