diff options
author | joerg <joerg@pkgsrc.org> | 2013-08-31 14:46:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-08-31 14:46:48 +0000 |
commit | 29716a97cc5e2fc0416dc5c2ece30fd06798ff92 (patch) | |
tree | 6838ef2c6b5a1349bb287672d4686ea320242419 /devel/gsoap | |
parent | 54836c1d196348b36bd714fbd210a4af86b7c8f6 (diff) | |
download | pkgsrc-29716a97cc5e2fc0416dc5c2ece30fd06798ff92.tar.gz |
Don't use gethostbyname_r on NetBSD.
Diffstat (limited to 'devel/gsoap')
-rw-r--r-- | devel/gsoap/distinfo | 6 | ||||
-rw-r--r-- | devel/gsoap/patches/patch-aa | 11 | ||||
-rw-r--r-- | devel/gsoap/patches/patch-ab | 11 |
3 files changed, 23 insertions, 5 deletions
diff --git a/devel/gsoap/distinfo b/devel/gsoap/distinfo index 7fa2b1772b4..a1974797870 100644 --- a/devel/gsoap/distinfo +++ b/devel/gsoap/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.6 2011/12/02 20:52:50 marino Exp $ +$NetBSD: distinfo,v 1.7 2013/08/31 14:46:48 joerg Exp $ SHA1 (gsoap_2.7.17.zip) = 573a08ab7d8ca2d970158911482c308484fdd5ed RMD160 (gsoap_2.7.17.zip) = 3f947cbc5e1656dd82b8c6425816cfaf08063c19 Size (gsoap_2.7.17.zip) = 10224444 bytes -SHA1 (patch-aa) = d492d2e1085451fed9b70e975f813214ff2d10dd -SHA1 (patch-ab) = c3742604ca37f2146b958dd476bd41bdbe0bb561 +SHA1 (patch-aa) = 096b71371dee851940e906c5c9b58ad29a4fe4f1 +SHA1 (patch-ab) = e8e5353420a5bd7e804441013865348b7bf2e3b4 SHA1 (patch-ac) = 13a03522d0f5166cc24b87510216297174c17ff0 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 diff --git a/devel/gsoap/patches/patch-ab b/devel/gsoap/patches/patch-ab index 4051d536e86..b153617b112 100644 --- a/devel/gsoap/patches/patch-ab +++ b/devel/gsoap/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.2 2010/09/18 12:11:36 obache Exp $ +$NetBSD: patch-ab,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 |