monit: add alpine patch to fix musl.
This commit is contained in:
parent
507f6a8157
commit
d90153a7d3
13
srcpkgs/monit/patches/musl-fix.patch
Normal file
13
srcpkgs/monit/patches/musl-fix.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- src/process/sysdep_LINUX.c.orig
|
||||||
|
+++ src/process/sysdep_LINUX.c
|
||||||
|
@@ -79,6 +79,10 @@
|
||||||
|
#include <glob.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifndef GLOB_ONLYDIR
|
||||||
|
+#define GLOB_ONLYDIR 0
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#ifndef HZ
|
||||||
|
# define HZ sysconf(_SC_CLK_TCK)
|
||||||
|
#endif
|
Loading…
x
Reference in New Issue
Block a user