From 80d1bbc9cd7bf5ff3f6819465cf25b9a0324babc Mon Sep 17 00:00:00 2001 From: J0WI Date: Mon, 20 May 2019 23:17:45 +0200 Subject: community/sigar: modernize and enable all arches --- community/sigar/0005-no-m64-mips-arm.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 community/sigar/0005-no-m64-mips-arm.patch (limited to 'community/sigar/0005-no-m64-mips-arm.patch') 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"); + } + } -- cgit v1.2.3