diff options
author | joerg <joerg> | 2013-08-31 14:46:48 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-08-31 14:46:48 +0000 |
commit | 2f842a7cf098126b2f8dfac50ec8dd9608f242a3 (patch) | |
tree | 6838ef2c6b5a1349bb287672d4686ea320242419 /devel/gsoap/patches/patch-aa | |
parent | 4dc3cbbbdc69932c9f196c586a0609cea674588b (diff) | |
download | pkgsrc-2f842a7cf098126b2f8dfac50ec8dd9608f242a3.tar.gz |
Don't use gethostbyname_r on NetBSD.
Diffstat (limited to 'devel/gsoap/patches/patch-aa')
-rw-r--r-- | devel/gsoap/patches/patch-aa | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/gsoap/patches/patch-aa b/devel/gsoap/patches/patch-aa index 9007abddaef..222357dda97 100644 --- a/devel/gsoap/patches/patch-aa +++ b/devel/gsoap/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2010/09/18 12:11:36 obache Exp $ +$NetBSD: patch-aa,v 1.3 2013/08/31 14:46:48 joerg Exp $ DragonFly support. @@ -13,3 +13,12 @@ DragonFly support. if (gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &host, &soap->errnum) < 0) host = NULL; #elif defined(_AIX43) || ((defined(TRU64) || defined(HP_UX)) && defined(HAVE_GETHOSTBYNAME_R)) +@@ -3320,7 +3320,7 @@ tcp_gethost(struct soap *soap, const cha + { host = NULL; + soap->errnum = h_errno; + } +-#elif defined(HAVE_GETHOSTBYNAME_R) ++#elif defined(HAVE_GETHOSTBYNAME_R) && !defined(__NetBSD__) + host = gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &soap->errnum); + #elif defined(VXWORKS) + /* If the DNS resolver library resolvLib has been configured in the vxWorks |