gsoap.patch 986 B

12345678910111213141516171819202122232425
  1. Index: soapcpp2/stdsoap2.c
  2. --- soapcpp2/stdsoap2.c.orig 2006-11-20 03:56:24 +0100
  3. +++ soapcpp2/stdsoap2.c 2006-12-04 20:22:19 +0100
  4. @@ -3334,7 +3334,7 @@
  5. { host = NULL;
  6. soap->errnum = h_errno;
  7. }
  8. -#elif defined(HAVE_GETHOSTBYNAME_R)
  9. +#elif defined(HAVE_GETHOSTBYNAME_R) && !defined(__FreeBSD__)
  10. host = gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &soap->errnum);
  11. #elif defined(VXWORKS)
  12. /* If the DNS resolver library resolvLib has been configured in the vxWorks
  13. Index: soapcpp2/stdsoap2.cpp
  14. --- soapcpp2/stdsoap2.cpp.orig 2006-11-20 03:56:24 +0100
  15. +++ soapcpp2/stdsoap2.cpp 2006-12-04 20:22:44 +0100
  16. @@ -3334,7 +3334,7 @@
  17. { host = NULL;
  18. soap->errnum = h_errno;
  19. }
  20. -#elif defined(HAVE_GETHOSTBYNAME_R)
  21. +#elif defined(HAVE_GETHOSTBYNAME_R) && !defined(__FreeBSD__)
  22. host = gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &soap->errnum);
  23. #elif defined(VXWORKS)
  24. /* If the DNS resolver library resolvLib has been configured in the vxWorks