aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sblim-sfcc/sockaddr-arg.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-03-16 17:59:51 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-03-16 17:59:51 +0000
commit9b89f989b762ed0bf6dba85a3abd5b628894dc53 (patch)
tree7b027c1c9c42b5729bd29b21a94b527c914dc31c /testing/sblim-sfcc/sockaddr-arg.patch
parent2bf616a212d4a57e21f5bc61bec35401ca4936b1 (diff)
downloadaports-9b89f989b762ed0bf6dba85a3abd5b628894dc53.tar.bz2
aports-9b89f989b762ed0bf6dba85a3abd5b628894dc53.tar.xz
testing/sblim-sfcc: new aport
Diffstat (limited to 'testing/sblim-sfcc/sockaddr-arg.patch')
-rw-r--r--testing/sblim-sfcc/sockaddr-arg.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/sblim-sfcc/sockaddr-arg.patch b/testing/sblim-sfcc/sockaddr-arg.patch
new file mode 100644
index 0000000000..03b1bf75d8
--- /dev/null
+++ b/testing/sblim-sfcc/sockaddr-arg.patch
@@ -0,0 +1,13 @@
+diff --git a/backend/cimxml/indicationlistener.c b/backend/cimxml/indicationlistener.c
+index 0d7d9fe..3be0bb7 100755
+--- a/backend/cimxml/indicationlistener.c
++++ b/backend/cimxml/indicationlistener.c
+@@ -36,7 +36,7 @@ static int do_listen=1;
+ #define hdrBufsize 5000
+ #define hdrLimmit 5000
+
+-#ifdef __APPLE__
++#if defined(__APPLE__) || (defined(__linux__) && !defined(__GLIBC__))
+ # define __SOCKADDR_ARG struct sockaddr *__restrict
+ #endif
+