From 556b623c327723e03bba3bf0f5ac841dd005b3b8 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Sat, 27 Aug 2016 15:39:09 +0000 Subject: testing/gsoap: move to community --- community/gsoap/musl-fixes.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 community/gsoap/musl-fixes.patch (limited to 'community/gsoap/musl-fixes.patch') diff --git a/community/gsoap/musl-fixes.patch b/community/gsoap/musl-fixes.patch new file mode 100644 index 0000000000..a6836ae9cf --- /dev/null +++ b/community/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 -- cgit v1.2.3