aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ossec-hids/musl_lack_of_a_out_h.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-01-18 13:16:27 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-01-18 13:16:27 +0000
commit3159a149be7b063198c17457c5400ddcab29e092 (patch)
treeb9aeeee304ca07a9852297014fd938aa08a21a47 /testing/ossec-hids/musl_lack_of_a_out_h.patch
parentffd94bf618e16a63aedba794852b15a34b531a33 (diff)
downloadaports-3159a149be7b063198c17457c5400ddcab29e092.tar.bz2
aports-3159a149be7b063198c17457c5400ddcab29e092.tar.xz
testing/ossec-hids: upgrade to 2.9.3
Diffstat (limited to 'testing/ossec-hids/musl_lack_of_a_out_h.patch')
-rw-r--r--testing/ossec-hids/musl_lack_of_a_out_h.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/testing/ossec-hids/musl_lack_of_a_out_h.patch b/testing/ossec-hids/musl_lack_of_a_out_h.patch
index 2660c2a5cc..a4d2b12a61 100644
--- a/testing/ossec-hids/musl_lack_of_a_out_h.patch
+++ b/testing/ossec-hids/musl_lack_of_a_out_h.patch
@@ -1,12 +1,13 @@
---- a/src/rootcheck/os_string.c.old 2017-05-03 21:21:43.796000000 +0000
-+++ b/src/rootcheck/os_string.c 2017-05-03 21:22:28.128000000 +0000
-@@ -54,7 +54,8 @@
+diff --git a/src/rootcheck/os_string.c b/src/rootcheck/os_string.c
+index e7ca284..85b6d9b 100644
+--- a/src/rootcheck/os_string.c
++++ b/src/rootcheck/os_string.c
+@@ -44,7 +44,7 @@
+
#ifdef SOLARIS
#include <sys/exechdr.h>
-
-#elif defined Darwin || defined HPUX
-+// linux here means musl-linux
+#elif defined Darwin || defined HPUX || defined linux
/* For some reason darwin does not have that */
- struct exec
+ struct exec {