aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libfastjson/musl-fix.patch
diff options
context:
space:
mode:
authorAshley Sommer <ashleysommer@gmail.com>2016-05-03 14:07:20 +1000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-05-11 09:08:52 +0000
commit2b80a0af85fad517cf8ae38216eda1d2c5fb784b (patch)
treedddb8b0ea8b94446b86794fd2184bff0ee4d96dd /testing/libfastjson/musl-fix.patch
parent2cc7bb1e9c91caee5c1432bd12eb36a5e5017650 (diff)
downloadaports-2b80a0af85fad517cf8ae38216eda1d2c5fb784b.tar.bz2
aports-2b80a0af85fad517cf8ae38216eda1d2c5fb784b.tar.xz
testing/libfastjson: new aport
https://github.com/rsyslog/libfastjson libfastjson is a fork of json-c by the developers of rsyslog, used in rsyslog v8.17 and later
Diffstat (limited to 'testing/libfastjson/musl-fix.patch')
-rw-r--r--testing/libfastjson/musl-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/libfastjson/musl-fix.patch b/testing/libfastjson/musl-fix.patch
new file mode 100644
index 0000000000..bfd20b56ef
--- /dev/null
+++ b/testing/libfastjson/musl-fix.patch
@@ -0,0 +1,13 @@
+--- rsyslog-8.16.0/runtime/rsyslog.h
++++ rsyslog-8.16.0-musl/runtime/rsyslog.h
+@@ -643,3 +643,10 @@
+ #endif
+
+ #endif /* multi-include protection */
++
++/* musl patches for alpine */
++#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
++#define GLOB_BRACE 0
++#ifndef WAIT_ANY
++#define WAIT_ANY (-1)
++#endif