Bug#752054: commons-daemon: add mips abi n32, n64 support

Sphinx Jiang yishanj13 at gmail.com
Thu Jun 19 07:10:25 UTC 2014


Package: commons-daemon
Version: 1.0.15-2
Severity: important
Tags: patch

This patch add the support for mips abi n32 and n64, tested on mips64el
device.

Already forward it to upstream
https://issues.apache.org/jira/browse/DAEMON-319

Regards,
Sphinx Jiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20140619/b4a8a234/attachment.html>
-------------- next part --------------
Index: commons-daemon-1.0.15/src/native/unix/support/apsupport.m4
===================================================================
--- commons-daemon-1.0.15.orig/src/native/unix/support/apsupport.m4     2014-06-19 05:40:23.000000000 +0000
+++ commons-daemon-1.0.15/src/native/unix/support/apsupport.m4  2014-06-19 05:46:23.202817468 +0000
@@ -113,7 +113,7 @@
     LDCMD="/opt/C/bin/cc"
     HOST_CPU=osd
     ;;
-  mips)
+  mips | mipsn32 | mips64)
     CFLAGS="$CFLAGS -DCPU=\\\"mips\\\""
     supported_os="mips"
     HOST_CPU=mips
@@ -142,7 +142,7 @@
     fi
     CFLAGS="$CFLAGS -DCPU=\\\"$HOST_CPU\\\" -DSO_EXT=\\\"sl\\\""
     ;;
-  mipsel)
+  mipsel | mipsn32el | mips64el)
     CFLAGS="$CFLAGS -DCPU=\\\"mipsel\\\""
     supported_os="mipsel"
     HOST_CPU=mipsel


More information about the pkg-java-maintainers mailing list