diff options
author | sem <sem@FreeBSD.org> | 2006-05-20 05:15:26 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2006-05-20 05:15:26 +0800 |
commit | b0adcf30911d81ddb33542d5784296f7ba406468 (patch) | |
tree | e8cc7eae1b2f00f3acc19e751ac86e03a3430169 | |
parent | d383017480018ec3bd48baa739d44fc256b1ad4a (diff) | |
download | freebsd-ports-gnome-b0adcf30911d81ddb33542d5784296f7ba406468.tar.gz freebsd-ports-gnome-b0adcf30911d81ddb33542d5784296f7ba406468.tar.zst freebsd-ports-gnome-b0adcf30911d81ddb33542d5784296f7ba406468.zip |
- Fix build on CURRENT
Reported by: kris mail
-rw-r--r-- | devel/gsoap/files/patch-soapcpp2-stdsoap2.c | 11 | ||||
-rw-r--r-- | devel/gsoap/files/patch-soapcpp2-stdsoap2.cpp | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/devel/gsoap/files/patch-soapcpp2-stdsoap2.c b/devel/gsoap/files/patch-soapcpp2-stdsoap2.c new file mode 100644 index 000000000000..97a95f644c1b --- /dev/null +++ b/devel/gsoap/files/patch-soapcpp2-stdsoap2.c @@ -0,0 +1,11 @@ +--- soapcpp2/stdsoap2.c.orig Sat May 20 00:20:40 2006 ++++ soapcpp2/stdsoap2.c Sat May 20 00:58:33 2006 +@@ -3251,7 +3251,7 @@ + soap->errnum = h_errno; + } + #elif defined(HAVE_GETHOSTBYNAME_R) +- host = gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &soap->errnum); ++ gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &host, &soap->errnum); + #elif defined(VXWORKS) + /* If the DNS resolver library resolvLib has been configured in the vxWorks + * image, a query for the host IP address is sent to the DNS server, if the diff --git a/devel/gsoap/files/patch-soapcpp2-stdsoap2.cpp b/devel/gsoap/files/patch-soapcpp2-stdsoap2.cpp new file mode 100644 index 000000000000..ea3dc0061a6c --- /dev/null +++ b/devel/gsoap/files/patch-soapcpp2-stdsoap2.cpp @@ -0,0 +1,11 @@ +--- soapcpp2/stdsoap2.cpp.orig Sat May 20 00:33:35 2006 ++++ soapcpp2/stdsoap2.cpp Sat May 20 00:58:56 2006 +@@ -3251,7 +3251,7 @@ + soap->errnum = h_errno; + } + #elif defined(HAVE_GETHOSTBYNAME_R) +- host = gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &soap->errnum); ++ gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &host, &soap->errnum); + #elif defined(VXWORKS) + /* If the DNS resolver library resolvLib has been configured in the vxWorks + * image, a query for the host IP address is sent to the DNS server, if the |