summaryrefslogtreecommitdiff
path: root/devel/gsoap
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-05-19 21:15:26 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-05-19 21:15:26 +0000
commit48998d3deee42875e30c59643463c6eecef1a377 (patch)
treeb83ba19a4820bf8bc3e54d13aa8c9aab59a135ae /devel/gsoap
parentAdd xpi-togglewordwrap: Toggles word wrapping (diff)
- Fix build on CURRENT
Reported by: kris mail
Notes
Notes: svn path=/head/; revision=162824
Diffstat (limited to 'devel/gsoap')
-rw-r--r--devel/gsoap/files/patch-soapcpp2-stdsoap2.c11
-rw-r--r--devel/gsoap/files/patch-soapcpp2-stdsoap2.cpp11
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