aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/gsoap/stdsoap2.cpp.diff
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/gsoap/stdsoap2.cpp.diff
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/gsoap/stdsoap2.cpp.diff')
-rw-r--r--unmaintained/gsoap/stdsoap2.cpp.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/unmaintained/gsoap/stdsoap2.cpp.diff b/unmaintained/gsoap/stdsoap2.cpp.diff
new file mode 100644
index 0000000000..66590b3a05
--- /dev/null
+++ b/unmaintained/gsoap/stdsoap2.cpp.diff
@@ -0,0 +1,20 @@
+--- gsoap-2.8.orig/gsoap/stdsoap2.cpp
++++ gsoap-2.8/gsoap/stdsoap2.cpp
+@@ -3963,7 +3963,7 @@
+ { memcpy(inaddr, &iadd, sizeof(iadd));
+ return SOAP_OK;
+ }
+-#if defined(__GLIBC__) || (defined(HAVE_GETHOSTBYNAME_R) && (defined(FREEBSD) || defined(__FreeBSD__))) || defined(__ANDROID__)
++#if defined(__GLIBC__) || (defined(HAVE_GETHOSTBYNAME_R) && (defined(FREEBSD) || defined(__FreeBSD__))) || defined(__ANDROID__) || defined(LINUX)
+ if (gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &host, &soap->errnum) < 0)
+ host = NULL;
+ #elif defined(_AIX43) || ((defined(TRU64) || defined(HP_UX)) && defined(HAVE_GETHOSTBYNAME_R))
+@@ -17240,7 +17240,7 @@
+ {
+ #ifndef WIN32
+ # ifdef HAVE_STRERROR_R
+-# ifdef _GNU_SOURCE
++# if defined (_GNU_SOURCE) && defined(__GLIBC__)
+ return strerror_r(err, soap->msgbuf, sizeof(soap->msgbuf)); /* GNU-specific */
+ # else
+ strerror_r(err, soap->msgbuf, sizeof(soap->msgbuf)); /* XSI-compliant */