gsoap: update to 2.8.80.

This commit is contained in:
maxice8 2019-02-20 21:27:00 -03:00 committed by maxice8
parent e02ab77e31
commit 6ef7f7272b
2 changed files with 7 additions and 7 deletions

View file

@ -20,15 +20,15 @@
if (gethostbyname_r(addr, &hostent, soap->buf, sizeof(soap->buf), &host, &soap->errnum) < 0)
host = NULL;
#elif defined(_AIX43) || ((defined(TRU64) || defined(HP_UX)) && defined(HAVE_GETHOSTBYNAME_R))
@@ -19658,7 +19658,7 @@ soap_strerror(struct soap *soap)
@@ -22307,7 +22307,7 @@ soap_strerror(struct soap *soap)
{
#ifndef WIN32
# ifdef HAVE_STRERROR_R
-# if defined(_GNU_SOURCE) && !defined(__ANDROID__)
+# if defined(_GNU_SOURCE) && !defined(__ANDROID__) && defined(__GLIBC__)
return strerror_r(err, soap->msgbuf, sizeof(soap->msgbuf)); /* GNU-specific */
# else
-# if ((!defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE) || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !_GNU_SOURCE) || defined(__ANDROID__)
+# if ((!defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE) || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !_GNU_SOURCE) || defined(__ANDROID__) || !defined(__GLIBC__)
strerror_r(err, soap->msgbuf, sizeof(soap->msgbuf)); /* XSI-compliant */
# else
return strerror_r(err, soap->msgbuf, sizeof(soap->msgbuf)); /* GNU-specific */
--- gsoap/stdsoap2.h.orig
+++ gsoap/stdsoap2.h
@@ -947,7 +947,7 @@ extern "C" {

View file

@ -1,6 +1,6 @@
# Template file for 'gsoap'
pkgname=gsoap
version=2.8.79
version=2.8.80
revision=1
wrksrc="gsoap-${version%.*}"
build_style=gnu-configure
@ -12,7 +12,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="gSOAP-1.3b, GPL-2.0-only"
homepage="http://www.cs.fsu.edu/~engelen/soap.html"
distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
checksum=a1c36371598177950829f78c697768bc0227fe851e4172f8bfbee1e37c939cc1
checksum=69c84300529057e701020433934930d6972e008ef7df1ed8b77b0a37529c51a9
disable_parallel_build=yes
if [ "$CROSS_BUILD" ]; then