3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/qt-5/5.8/qtbase/dlopen-resolv.patch

27 lines
1.1 KiB
Diff
Raw Normal View History

2017-04-15 17:11:32 +01:00
Index: qtbase-opensource-src-5.8.0/src/network/kernel/qdnslookup_unix.cpp
===================================================================
2017-04-15 17:11:32 +01:00
--- 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"));
2017-04-15 17:33:47 +01:00
+ lib.setFileName(QLatin1String(NIXPKGS_LIBRESOLV));
if (!lib.load())
return false;
}
2017-04-15 17:11:32 +01:00
Index: qtbase-opensource-src-5.8.0/src/network/kernel/qhostinfo_unix.cpp
===================================================================
2017-04-15 17:11:32 +01:00
--- 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"));
2017-04-15 17:33:47 +01:00
+ lib.setFileName(QLatin1String(NIXPKGS_LIBRESOLV));
if (!lib.load())
return false;
}