aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gsoap/musl-fixes.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-27 16:02:05 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-27 16:02:05 +0000
commitfdd2e727080ec29f306028a53c296f674298989c (patch)
treee3893c884369a8375f3017320ed5059b350a7174 /testing/gsoap/musl-fixes.patch
parent64729f514be06ce2766d8e1a0951042573135735 (diff)
downloadaports-fdd2e727080ec29f306028a53c296f674298989c.tar.bz2
aports-fdd2e727080ec29f306028a53c296f674298989c.tar.xz
testing/gsoap: upgrade to 2.8.34
Diffstat (limited to 'testing/gsoap/musl-fixes.patch')
-rw-r--r--testing/gsoap/musl-fixes.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/gsoap/musl-fixes.patch b/testing/gsoap/musl-fixes.patch
new file mode 100644
index 0000000000..a6836ae9cf
--- /dev/null
+++ b/testing/gsoap/musl-fixes.patch
@@ -0,0 +1,22 @@
+--- ./gsoap/stdsoap2.cpp.orig
++++ ./gsoap/stdsoap2.cpp
+@@ -18691,7 +18691,7 @@
+ {
+ #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
+ strerror_r(err, soap->msgbuf, sizeof(soap->msgbuf)); /* XSI-compliant */
+--- gsoap-2.8.orig/gsoap/stdsoap2.h
++++ gsoap-2.8/gsoap/stdsoap2.h
+@@ -859,7 +859,7 @@
+ # 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) || defined(HP_UX)
+ # define SOAP_SOCKLEN_T int