forked from mirrors/nixpkgs
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
Index: qtbase-opensource-src-5.8.0/src/network/kernel/qdnslookup_unix.cpp
|
|
===================================================================
|
|
--- qtbase-opensource-src-5.8.0.orig/src/network/kernel/qdnslookup_unix.cpp
|
|
+++ qtbase-opensource-src-5.8.0/src/network/kernel/qdnslookup_unix.cpp
|
|
@@ -90,7 +90,7 @@ static bool resolveLibraryInternal()
|
|
if (!lib.load())
|
|
#endif
|
|
{
|
|
- lib.setFileName(QLatin1String("resolv"));
|
|
+ lib.setFileName(QLatin1String(NIXPKGS_LIBRESOLV));
|
|
if (!lib.load())
|
|
return false;
|
|
}
|
|
Index: qtbase-opensource-src-5.8.0/src/network/kernel/qhostinfo_unix.cpp
|
|
===================================================================
|
|
--- qtbase-opensource-src-5.8.0.orig/src/network/kernel/qhostinfo_unix.cpp
|
|
+++ qtbase-opensource-src-5.8.0/src/network/kernel/qhostinfo_unix.cpp
|
|
@@ -100,7 +100,7 @@ static bool resolveLibraryInternal()
|
|
if (!lib.load())
|
|
#endif
|
|
{
|
|
- lib.setFileName(QLatin1String("resolv"));
|
|
+ lib.setFileName(QLatin1String(NIXPKGS_LIBRESOLV));
|
|
if (!lib.load())
|
|
return false;
|
|
}
|