- Fix build on CURRENT

Reported by:	kris mail
This commit is contained in:
Sergey Matveychuk 2006-05-19 21:15:26 +00:00
parent f908589eca
commit 48998d3dee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162824
2 changed files with 22 additions and 0 deletions

View File

@ -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

View File

@ -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