aboutsummaryrefslogtreecommitdiffstats
path: root/testing/java-sigar/musl-compat-HZ.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-01-16 20:11:22 +0000
committerJakub Jirutka <jakub@jirutka.cz>2019-01-16 21:12:20 +0100
commite01acd2d2c8c7f316974658f2d3fd171bd12d4d0 (patch)
treeda6e6b2b0fe679bd4a93f0d9d3f9eb8f9cf27035 /testing/java-sigar/musl-compat-HZ.patch
parent230a84ab4beaf0862bf4b1ed648f0eb2262463c2 (diff)
downloadaports-e01acd2d2c8c7f316974658f2d3fd171bd12d4d0.tar.bz2
aports-e01acd2d2c8c7f316974658f2d3fd171bd12d4d0.tar.xz
testing/java-sigar: new aport
https://github.com/hyperic/sigar/ System Information Gatherer And Reporter
Diffstat (limited to 'testing/java-sigar/musl-compat-HZ.patch')
-rw-r--r--testing/java-sigar/musl-compat-HZ.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/java-sigar/musl-compat-HZ.patch b/testing/java-sigar/musl-compat-HZ.patch
new file mode 100644
index 0000000000..19aa619095
--- /dev/null
+++ b/testing/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"