aboutsummaryrefslogtreecommitdiffstats
path: root/community/java-sigar/musl-compat-HZ.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-01-26 16:27:22 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-01-26 16:27:22 +0100
commit25289c4d50813375a2d3dd899cadd1cca618d3b1 (patch)
tree5e996a4ae587cc24cb7479246fbc97702a36dc75 /community/java-sigar/musl-compat-HZ.patch
parenta0912ad44ebbcfd72e8ed0189b48cc721c793a50 (diff)
downloadaports-25289c4d50813375a2d3dd899cadd1cca618d3b1.tar.bz2
aports-25289c4d50813375a2d3dd899cadd1cca618d3b1.tar.xz
community/java-sigar: move from testing
Diffstat (limited to 'community/java-sigar/musl-compat-HZ.patch')
-rw-r--r--community/java-sigar/musl-compat-HZ.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/java-sigar/musl-compat-HZ.patch b/community/java-sigar/musl-compat-HZ.patch
new file mode 100644
index 0000000000..19aa619095
--- /dev/null
+++ b/community/java-sigar/musl-compat-HZ.patch
@@ -0,0 +1,12 @@
+The HZ define is not exposed by musl libc.
+
+--- a/src/os/linux/linux_sigar.c
++++ b/src/os/linux/linux_sigar.c
+@@ -23,6 +23,7 @@
+ #include <sys/stat.h>
+ #include <sys/times.h>
+ #include <sys/utsname.h>
++#include <linux/param.h>
+
+ #include "sigar.h"
+ #include "sigar_private.h"