On Mon, 27 Oct 2014 15:44:35 +0800 YunQiang Su <wzss...@gmail.com> wrote:
> Package: hyperic-sigar
> Version: 1.6.4+dfsg-2
>
> When build this package it set '-m64' for mips64(el) and arm64.
>
> This patch can fix this problem.
>
> 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
>       2013-01-28 06:39:57.000000000 +0800
> +++ 
> hyperic-sigar-1.6.4+dfsg/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchNameTask.java
>    2034-12-21 14:48:11.186686096 +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");
>                  }
>              }

I NMUed this package with the attached patch.

>
> --
> YunQiang Su
>
>

Attachment: hyperic-sigar.debdiff
Description: Binary data

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to