aboutsummaryrefslogtreecommitdiffstats
path: root/community/gsoap/musl-fixes.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-10 12:43:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-10 12:45:35 +0000
commit7d03a5713b5e3e4df6c8388c830d5eaf879ed6d7 (patch)
tree0d1e53c3d48fca14ae6aa35f0ea74466ad2564e7 /community/gsoap/musl-fixes.patch
parent8fdf443375dff3361b2bfff3685368598b1dd566 (diff)
downloadaports-7d03a5713b5e3e4df6c8388c830d5eaf879ed6d7.tar.bz2
aports-7d03a5713b5e3e4df6c8388c830d5eaf879ed6d7.tar.xz
community/gsoap: upgrade to 2.8.45
Diffstat (limited to 'community/gsoap/musl-fixes.patch')
-rw-r--r--community/gsoap/musl-fixes.patch17
1 files changed, 13 insertions, 4 deletions
diff --git a/community/gsoap/musl-fixes.patch b/community/gsoap/musl-fixes.patch
index a6836ae9cf..52ed6efc7a 100644
--- a/community/gsoap/musl-fixes.patch
+++ b/community/gsoap/musl-fixes.patch
@@ -9,14 +9,23 @@
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 @@
+--- ./gsoap/stdsoap2.h.orig
++++ ./gsoap/stdsoap2.h
+@@ -677,7 +677,7 @@
+ # define SOAP_LOCALE(soap) ((soap)->c_locale ? (soap)->c_locale : ((soap)->c_locale = _create_locale(LC_ALL, "C")))
+ # define SOAP_FREELOCALE(soap) (void)((soap)->c_locale && (_free_locale((soap)->c_locale), ((soap)->c_locale = NULL)))
+ # else
+-# if !defined(CYGWIN)
++# if !defined(CYGWIN) && defined(__GLIBC__)
+ # include <xlocale.h>
+ # else
+ # undef HAVE_STRTOF_L
+@@ -943,7 +943,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)
+ #elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS)
# define SOAP_SOCKLEN_T int