diff options
author | J0WI <J0WI@users.noreply.github.com> | 2019-05-20 23:17:45 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-06 05:00:22 -0300 |
commit | 80d1bbc9cd7bf5ff3f6819465cf25b9a0324babc (patch) | |
tree | 5c4681833988c1d4b2ca912a0fbfe8836f6456ad /community/sigar/0005-no-m64-mips-arm.patch | |
parent | 352362bc23dc02fe57392e63c5940dacf7a44090 (diff) | |
download | aports-80d1bbc9cd7bf5ff3f6819465cf25b9a0324babc.tar.bz2 aports-80d1bbc9cd7bf5ff3f6819465cf25b9a0324babc.tar.xz |
community/sigar: modernize and enable all arches
Diffstat (limited to 'community/sigar/0005-no-m64-mips-arm.patch')
-rw-r--r-- | community/sigar/0005-no-m64-mips-arm.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/sigar/0005-no-m64-mips-arm.patch b/community/sigar/0005-no-m64-mips-arm.patch new file mode 100644 index 0000000000..f0c713ffd8 --- /dev/null +++ b/community/sigar/0005-no-m64-mips-arm.patch @@ -0,0 +1,14 @@ +Index: hyperic-sigar-1.6.4+dfsg/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchNameTask.java +=================================================================== +--- hyperic-sigar-1.6.4+dfsg.orig/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchNameTask.java 2014-11-03 13:25:30.620030459 +0800 ++++ hyperic-sigar-1.6.4+dfsg/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchNameTask.java 2014-11-03 13:25:30.608030459 +0800 +@@ -75,7 +75,8 @@ + if (ArchName.is64()) { + getProject().setProperty("jni.arch64", "true"); + if (ArchLoader.IS_LINUX) { +- if (!osArch.equals("ia64")) { ++ if (!osArch.equals("ia64") && !osArch.equals("mips64el") ++ && !osArch.equals("mips64") && !osArch.equals("aarch64")) { + getProject().setProperty("jni.gccm", "-m64"); + } + } |