pkgsrc/x11/qt3-libs/patches/patch-bd
adam b124211be2 Changes 3.3.5:
* Over 200 bug-fixes were incorporated
* Platform support was added for Mac OS X 10.4 (Tiger), VS2005, and GCC 4.
2005-09-27 07:46:20 +00:00

13 lines
392 B
Text

$NetBSD: patch-bd,v 1.5 2005/09/27 07:46:20 adam Exp $
--- src/network/qdns.cpp.orig 2005-09-02 12:42:59.000000000 +0000
+++ src/network/qdns.cpp
@@ -2538,6 +2538,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