diff options
author | Francisco Guerreiro <francisg@fnop.net> | 2016-03-03 18:00:57 +0000 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-03-07 16:40:57 +0100 |
commit | 9c38c131fb20cd4172c9e46699f07ae8797a4caf (patch) | |
tree | d2f79a23bea17f3ef6e47dc6dbb6e5da325e35b1 /main/rsyslog/musl-fix.patch | |
parent | 57440db5fc0072199aff5f8a81fb4cf1057047ba (diff) | |
download | aports-9c38c131fb20cd4172c9e46699f07ae8797a4caf.tar.bz2 aports-9c38c131fb20cd4172c9e46699f07ae8797a4caf.tar.xz |
update rsyslog to 8.16.0
* added redis subpackage for hiredis client support
* added different musl fixes for missing constants
* enabled syslog over TCP support by default
Diffstat (limited to 'main/rsyslog/musl-fix.patch')
-rw-r--r-- | main/rsyslog/musl-fix.patch | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/main/rsyslog/musl-fix.patch b/main/rsyslog/musl-fix.patch index 698443c003..bfd20b56ef 100644 --- a/main/rsyslog/musl-fix.patch +++ b/main/rsyslog/musl-fix.patch @@ -1,12 +1,13 @@ -diff --git a/tools/omfile.c.orig b/tools/omfile.c -index 015f453..8e0b6f4 100644 ---- a/tools/omfile.c.orig -+++ b/tools/omfile.c -@@ -48,6 +48,7 @@ - #include <libgen.h> - #include <unistd.h> - #include <sys/file.h> -+#include <fcntl.h> - #ifdef OS_SOLARIS - # include <fcntl.h> +--- 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 |