|
|
@@ -0,0 +1,24 @@
|
|
|
+Index: soapcpp2/stdsoap2.c
|
|
|
+--- soapcpp2/stdsoap2.c.orig 2006-11-20 03:56:24 +0100
|
|
|
++++ soapcpp2/stdsoap2.c 2006-12-04 20:22:19 +0100
|
|
|
+@@ -3334,7 +3334,7 @@
|
|
|
+ { host = NULL;
|
|
|
+ soap->errnum = h_errno;
|
|
|
+ }
|
|
|
+-#elif defined(HAVE_GETHOSTBYNAME_R)
|
|
|
++#elif defined(HAVE_GETHOSTBYNAME_R) && !defined(__FreeBSD__)
|
|
|
+ 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
|
|
|
+Index: soapcpp2/stdsoap2.cpp
|
|
|
+--- soapcpp2/stdsoap2.cpp.orig 2006-11-20 03:56:24 +0100
|
|
|
++++ soapcpp2/stdsoap2.cpp 2006-12-04 20:22:44 +0100
|
|
|
+@@ -3334,7 +3334,7 @@
|
|
|
+ { host = NULL;
|
|
|
+ soap->errnum = h_errno;
|
|
|
+ }
|
|
|
+-#elif defined(HAVE_GETHOSTBYNAME_R)
|
|
|
++#elif defined(HAVE_GETHOSTBYNAME_R) && !defined(__FreeBSD__)
|
|
|
+ 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
|