gsoap: update to 2.8.81.
This commit is contained in:
parent
e9f89d8269
commit
56b068e760
2 changed files with 2 additions and 44 deletions
|
@ -1,42 +0,0 @@
|
|||
--- gsoap/stdsoap2.c.orig
|
||||
+++ gsoap/stdsoap2.c
|
||||
@@ -4462,7 +4462,7 @@ tcp_gethost(struct soap *soap, const char *addr, struct in_addr *inaddr)
|
||||
return soap->error = SOAP_EOM;
|
||||
return SOAP_OK;
|
||||
}
|
||||
-#if defined(__GLIBC__) || (defined(HAVE_GETHOSTBYNAME_R) && (defined(FREEBSD) || defined(__FreeBSD__))) || defined(__ANDROID__)
|
||||
+#if defined(LINUX) || (defined(HAVE_GETHOSTBYNAME_R) && (defined(FREEBSD) || defined(__FreeBSD__))) || defined(__ANDROID__)
|
||||
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))
|
||||
--- gsoap/stdsoap2.cpp.orig
|
||||
+++ gsoap/stdsoap2.cpp
|
||||
@@ -4462,7 +4462,7 @@ tcp_gethost(struct soap *soap, const char *addr, struct in_addr *inaddr)
|
||||
return soap->error = SOAP_EOM;
|
||||
return SOAP_OK;
|
||||
}
|
||||
-#if defined(__GLIBC__) || (defined(HAVE_GETHOSTBYNAME_R) && (defined(FREEBSD) || defined(__FreeBSD__))) || defined(__ANDROID__)
|
||||
+#if defined(LINUX) || (defined(HAVE_GETHOSTBYNAME_R) && (defined(FREEBSD) || defined(__FreeBSD__))) || defined(__ANDROID__)
|
||||
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))
|
||||
@@ -22307,7 +22307,7 @@ soap_strerror(struct soap *soap)
|
||||
{
|
||||
#ifndef WIN32
|
||||
# ifdef HAVE_STRERROR_R
|
||||
-# 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" {
|
||||
# endif
|
||||
#elif defined(SOCKLEN_T)
|
||||
# define SOAP_SOCKLEN_T SOCKLEN_T
|
||||
-#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(OPENBSD) || defined(__QNX__) || defined(QNX) || defined(OS390) || defined(__ANDROID__) || defined(_XOPEN_SOURCE)
|
||||
+#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(OPENBSD) || defined(__QNX__) || defined(QNX) || defined(OS390) || defined(__ANDROID__) || defined(_XOPEN_SOURCE) || defined (LINUX)
|
||||
# define SOAP_SOCKLEN_T socklen_t
|
||||
#elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS)
|
||||
# define SOAP_SOCKLEN_T int
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'gsoap'
|
||||
pkgname=gsoap
|
||||
version=2.8.80
|
||||
version=2.8.81
|
||||
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=69c84300529057e701020433934930d6972e008ef7df1ed8b77b0a37529c51a9
|
||||
checksum=0a5ba2e384c49efa31c925c72d25a8ff06bc4304aaa2ed9335485783358b2d33
|
||||
disable_parallel_build=yes
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
|
|
Loading…
Reference in a new issue