mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
From 63af41c6eeca28c911c13b1a77afeaf860863c2d Mon Sep 17 00:00:00 2001
|
|
From: Thomas Tuegel <ttuegel@gmail.com>
|
|
Date: Mon, 1 Dec 2014 17:22:55 -0600
|
|
Subject: [PATCH] dlopen-resolv
|
|
|
|
---
|
|
qtbase/src/network/kernel/qdnslookup_unix.cpp | 2 +-
|
|
qtbase/src/network/kernel/qhostinfo_unix.cpp | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/qtbase/src/network/kernel/qdnslookup_unix.cpp b/qtbase/src/network/kernel/qdnslookup_unix.cpp
|
|
index 8c5a0eb..27ebf16 100644
|
|
--- a/qtbase/src/network/kernel/qdnslookup_unix.cpp
|
|
+++ b/qtbase/src/network/kernel/qdnslookup_unix.cpp
|
|
@@ -87,7 +87,7 @@ static void resolveLibrary()
|
|
if (!lib.load())
|
|
#endif
|
|
{
|
|
- lib.setFileName(QLatin1String("resolv"));
|
|
+ lib.setFileName(QLatin1String("@glibc/lib/resolv"));
|
|
if (!lib.load())
|
|
return;
|
|
}
|
|
diff --git a/qtbase/src/network/kernel/qhostinfo_unix.cpp b/qtbase/src/network/kernel/qhostinfo_unix.cpp
|
|
index df8c8b1..613d0e0 100644
|
|
--- a/qtbase/src/network/kernel/qhostinfo_unix.cpp
|
|
+++ b/qtbase/src/network/kernel/qhostinfo_unix.cpp
|
|
@@ -103,7 +103,7 @@ static void resolveLibrary()
|
|
if (!lib.load())
|
|
#endif
|
|
{
|
|
- lib.setFileName(QLatin1String("resolv"));
|
|
+ lib.setFileName(QLatin1String("@glibc@/lib/libresolv"));
|
|
if (!lib.load())
|
|
return;
|
|
}
|
|
--
|
|
2.1.3
|
|
|