2016-08-28 14:17:00 +02:00
|
|
|
Index: qtbase-opensource-src-5.6.1/src/network/kernel/qdnslookup_unix.cpp
|
2016-05-03 01:50:19 +02:00
|
|
|
===================================================================
|
2016-08-28 14:17:00 +02:00
|
|
|
--- qtbase-opensource-src-5.6.1.orig/src/network/kernel/qdnslookup_unix.cpp
|
|
|
|
+++ qtbase-opensource-src-5.6.1/src/network/kernel/qdnslookup_unix.cpp
|
|
|
|
@@ -78,7 +78,7 @@ static bool resolveLibraryInternal()
|
2016-05-03 01:50:19 +02:00
|
|
|
if (!lib.load())
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
- lib.setFileName(QLatin1String("resolv"));
|
|
|
|
+ lib.setFileName(QLatin1String("@glibc@/lib/resolv"));
|
|
|
|
if (!lib.load())
|
2016-08-28 14:17:00 +02:00
|
|
|
return false;
|
2016-05-03 01:50:19 +02:00
|
|
|
}
|
2016-08-28 14:17:00 +02:00
|
|
|
Index: qtbase-opensource-src-5.6.1/src/network/kernel/qhostinfo_unix.cpp
|
2016-05-03 01:50:19 +02:00
|
|
|
===================================================================
|
2016-08-28 14:17:00 +02:00
|
|
|
--- qtbase-opensource-src-5.6.1.orig/src/network/kernel/qhostinfo_unix.cpp
|
|
|
|
+++ qtbase-opensource-src-5.6.1/src/network/kernel/qhostinfo_unix.cpp
|
|
|
|
@@ -94,7 +94,7 @@ static bool resolveLibraryInternal()
|
2016-05-03 01:50:19 +02:00
|
|
|
if (!lib.load())
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
- lib.setFileName(QLatin1String("resolv"));
|
|
|
|
+ lib.setFileName(QLatin1String("@glibc@/lib/libresolv"));
|
|
|
|
if (!lib.load())
|
2016-08-28 14:17:00 +02:00
|
|
|
return false;
|
2016-05-03 01:50:19 +02:00
|
|
|
}
|