pkgsrc/net/kdenetwork4/patches/patch-ab
markd b9c6d278a5 Import KDE4.3.1 from wip
OKed during freeze by wiz and agc
2009-10-02 20:17:15 +00:00

14 lines
553 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2009/10/02 20:17:16 markd Exp $
--- kopete/protocols/jabber/libiris/iris/jdns/jdns_sys.c.orig 2009-02-19 05:29:30.000000000 +1300
+++ kopete/protocols/jabber/libiris/iris/jdns/jdns_sys.c
@@ -682,6 +682,9 @@ static jdns_dnsparams_t *dnsparams_get_u
#if defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 3)))
# define JDNS_MODERN_RES_API
#endif
+#if defined(__RES) && (__RES >= 20030124)
+# define JDNS_MODERN_RES_API
+#endif
#ifndef JDNS_MODERN_RES_API
typedef int (*res_init_func)();