summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormarkd <markd>2004-08-24 12:38:18 +0000
committermarkd <markd>2004-08-24 12:38:18 +0000
commit13920eef51f1bbbb46df4be2bd5aa88ab5b7ba1f (patch)
tree08fbaa51b62beb96ff68049df358b878d3849523 /x11
parent7e0afe9834fe7b15078df07272ed15657fcbba9d (diff)
downloadpkgsrc-13920eef51f1bbbb46df4be2bd5aa88ab5b7ba1f.tar.gz
Use modern resolver api on recent NetBSD systems that have it.
From Love in PR 26638. Fixes problems in threaded programs. eg psi and kde3.3's cups support.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt3-libs/distinfo3
-rw-r--r--x11/qt3-libs/patches/patch-bd13
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/qt3-libs/distinfo b/x11/qt3-libs/distinfo
index 8da70e725eb..5e64ef837f2 100644
--- a/x11/qt3-libs/distinfo
+++ b/x11/qt3-libs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2004/08/12 11:52:39 adam Exp $
+$NetBSD: distinfo,v 1.24 2004/08/24 12:38:18 markd Exp $
SHA1 (qt-x11-free-3.3.3.tar.bz2) = b9737d8dc0c440a7d28f1f0a164e49f7bd242585
Size (qt-x11-free-3.3.3.tar.bz2) = 14424812 bytes
@@ -10,3 +10,4 @@ SHA1 (patch-af) = dde2d3cd4fa9eab0105ee097182a172756002347
SHA1 (patch-ba) = 0f5baae5501a83ea53e5d4df846bb1f338e4d802
SHA1 (patch-bb) = df300b77d0adb653eaa16c97f995ed2def8e7d87
SHA1 (patch-bc) = d8a84e1b66bf1953b53df57ae81d2c98cce69c41
+SHA1 (patch-bd) = 0493bc7a0e9b9fa3c88f77b6fc89f77a3e4e3481
diff --git a/x11/qt3-libs/patches/patch-bd b/x11/qt3-libs/patches/patch-bd
new file mode 100644
index 00000000000..97e136c8257
--- /dev/null
+++ b/x11/qt3-libs/patches/patch-bd
@@ -0,0 +1,13 @@
+$NetBSD: patch-bd,v 1.3 2004/08/24 12:38:18 markd Exp $
+
+--- src/network/qdns.cpp.orig 2004-08-24 23:37:54.000000000 +1200
++++ src/network/qdns.cpp
+@@ -2515,6 +2515,8 @@ void QDns::doSynchronousLookup()
+
+ #if defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 3)))
+ #define Q_MODERN_RES_API
++#elif defined(res_ninit)
++#define Q_MODERN_RES_API
+ #else
+ #endif
+