- Fix build on CURRENT
Reported by: kris mail
This commit is contained in:
parent
f908589eca
commit
48998d3dee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162824
11
devel/gsoap/files/patch-soapcpp2-stdsoap2.c
Normal file
11
devel/gsoap/files/patch-soapcpp2-stdsoap2.c
Normal 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
|
11
devel/gsoap/files/patch-soapcpp2-stdsoap2.cpp
Normal file
11
devel/gsoap/files/patch-soapcpp2-stdsoap2.cpp
Normal 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
|
Loading…
Reference in New Issue
Block a user