X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=Xorg%2Flib%2Fqt4%2Fpatches%2F100-do_not_use_res.defdname.patch;h=0b2d0ef3b64574bb68e8ec5ab278e2ade85be2f2;hp=57c3a540acd1ac7b9a50833a12a50e72a9119a3b;hb=23495693d7b99e3f77f5ca63d1b7176af39e8561;hpb=2f6eb065910932d4cb63525a6f7cc0071dfa83a0;ds=sidebyside diff --git a/Xorg/lib/qt4/patches/100-do_not_use_res.defdname.patch b/Xorg/lib/qt4/patches/100-do_not_use_res.defdname.patch index 57c3a540ac..0b2d0ef3b6 100644 --- a/Xorg/lib/qt4/patches/100-do_not_use_res.defdname.patch +++ b/Xorg/lib/qt4/patches/100-do_not_use_res.defdname.patch @@ -9,3 +9,27 @@ resolveLibrary(); if (local_res_ninit) { // using thread-safe version +--- qt-everywhere-opensource-src-4.7.0-beta1/src/qt3support/network/q3dns.cpp 2010-05-04 02:43:25.000000000 +0200 ++++ qt-everywhere-opensource-src-4.7.0-beta1/src/qt3support/network/q3dns.cpp.new 2010-06-20 14:43:48.565315801 +0200 +@@ -2499,8 +2499,8 @@ + break; + } + # endif +- if ( *res.defdname ) +- theDomains->append( QString::fromLatin1( res.defdname ).lower().local8Bit() ); ++// if ( *res.defdname ) ++// theDomains->append( QString::fromLatin1( res.defdname ).lower().local8Bit() ); + #else + res_init(); + int i; +@@ -2515,8 +2515,8 @@ + break; + } + # endif +- if ( *_res.defdname ) +- theDomains->append( QString::fromLatin1( _res.defdname ).lower().local8Bit() ); ++// if ( *_res.defdname ) ++// theDomains->append( QString::fromLatin1( _res.defdname ).lower().local8Bit() ); + #endif + + // the code above adds "0.0.0.0" as a name server at the slightest