aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2019-09-03 19:10:20 +0000
committerprspkt <prspkt@protonmail.com>2019-09-03 22:26:26 +0300
commitc3ba83e4ea738cfd68e1b1b4a3ca798b1eb699a6 (patch)
tree4bab16a3c62af2b6280734ce452455a55434d3a7
parente92ff72c211bce19ab329378f4090321853cd017 (diff)
downloadaports-c3ba83e4ea738cfd68e1b1b4a3ca798b1eb699a6.tar.gz
aports-c3ba83e4ea738cfd68e1b1b4a3ca798b1eb699a6.tar.bz2
aports-c3ba83e4ea738cfd68e1b1b4a3ca798b1eb699a6.tar.xz
community/java-sigar: add required sysmacros.h
-rw-r--r--community/java-sigar/APKBUILD4
-rw-r--r--community/java-sigar/java-sigar-include-sysmacros.patch10
2 files changed, 13 insertions, 1 deletions
diff --git a/community/java-sigar/APKBUILD b/community/java-sigar/APKBUILD
index 03cf505c6f..6b34ce1907 100644
--- a/community/java-sigar/APKBUILD
+++ b/community/java-sigar/APKBUILD
@@ -3,7 +3,7 @@
pkgname=java-sigar
_pkgname=sigar
pkgver=1.6.4
-pkgrel=0
+pkgrel=1
pkgdesc="System Information Gatherer And Reporter"
url="https://github.com/hyperic/sigar/"
arch="all !aarch64"
@@ -15,6 +15,7 @@ source="https://github.com/hyperic/$_pkgname/archive/$_pkgname-$pkgver.tar.gz
musl-compat-HZ.patch
musl-compat-strerror_r.patch
tirpc.patch
+ java-sigar-include-sysmacros.patch
fix-inlined-functions-definition.patch
"
builddir="$srcdir/$_pkgname-$_pkgname-$pkgver"
@@ -45,4 +46,5 @@ sha512sums="0515f3501a51357d6ac01dc5e3ecffae10995f347b98c66928adff247b86e52112d2
bfb4f6f945207be652c58cfc8d3a552c84424d0ca9a3c0bf4177f4caa24c65a44ed3342b28d6d80d82a3e61d72f61d9c4194902bafa5372710db71f85e713f0f musl-compat-HZ.patch
ea85154edc0ca2b15d556bbfe4fa61b37d2a53befa969b4c91d976b502f14ce138b0dbbd7d46985aa809a490df97b6ef388f3f16820e1e14b52fc85851342527 musl-compat-strerror_r.patch
c6bda65e389a62495951a908f675fbe4aa24b3b819e8e4bc9fee87e9e59ca5533b9ad738737d42f7d7665cc077a3bbc868420aa281536d0673a62e94b165488c tirpc.patch
+678fe505286ec31297d1459788f44144ecd7f35a35523f53be8cf8d699e45491a4573968ac8e8f88620acdae49e5aa2b130dc18c1c7c311b026b3ed1e65166fe java-sigar-include-sysmacros.patch
ff313c86155c6c6e827cca1ea092308fce3f57eff88fb097e7f2f125ce42b44e45de57f7f45dd0b440fae854a169fad3e2ebe9d2fc9f2c7406413928ed081e15 fix-inlined-functions-definition.patch"
diff --git a/community/java-sigar/java-sigar-include-sysmacros.patch b/community/java-sigar/java-sigar-include-sysmacros.patch
new file mode 100644
index 0000000000..9fbda08501
--- /dev/null
+++ b/community/java-sigar/java-sigar-include-sysmacros.patch
@@ -0,0 +1,10 @@
+--- a/include/sigar.h
++++ b/include/sigar.h
+@@ -110,6 +110,7 @@
+ typedef unsigned long sigar_gid_t;
+ #else
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ typedef pid_t sigar_pid_t;
+ typedef uid_t sigar_uid_t;
+ typedef gid_t sigar_gid_t;