void-packages/srcpkgs/rsyslog/patches/musl-glob.patch
jbu acae4d938a rsyslog: unbreak musl + remove systemd option
+ The next update (0.8.11) is coming soon
2015-06-30 15:21:11 +02:00

12 lines
374 B
Diff

--- plugins/imfile/imfile.c 2015-05-19 10:53:40.000000000 +0200
+++ plugins/imfile/imfile.c 2015-06-29 23:11:50.984104193 +0200
@@ -34,6 +34,9 @@
#include <sys/types.h>
#include <unistd.h>
#include <glob.h>
+#if !defined(GLOB_BRACE)
+#define GLOB_BRACE 0 /* no GLOB_BRACE in musl libc */
+#endif
#include <fnmatch.h>
#ifdef HAVE_SYS_INOTIFY_H
#include <sys/inotify.h>