Bug#726389: commons-daemon: add arm64 support

Colin Watson cjwatson at ubuntu.com
Tue Oct 15 09:28:40 UTC 2013


Package: commons-daemon
Version: 1.0.15-2
Severity: important
Tags: patch
User: debian-arm at lists.debian.org
Usertags: arm64

This patch adds support for the new arm64 architecture.

  * Add arm64 support.

diff -Nru commons-daemon-1.0.15/debian/patches/arm64.diff commons-daemon-1.0.15/debian/patches/arm64.diff
--- commons-daemon-1.0.15/debian/patches/arm64.diff	1970-01-01 01:00:00.000000000 +0100
+++ commons-daemon-1.0.15/debian/patches/arm64.diff	2013-10-15 10:18:22.000000000 +0100
@@ -0,0 +1,37 @@
+Description: Add ARM64 support
+Author: Colin Watson <cjwatson at ubuntu.com>
+Forwarded: no
+Last-Update: 2013-10-15
+
+Index: b/src/native/unix/configure
+===================================================================
+--- a/src/native/unix/configure
++++ b/src/native/unix/configure
+@@ -2697,6 +2697,11 @@
+     supported_os="arm"
+     HOST_CPU=arm
+     ;;
++  aarch64)
++    CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
++    supported_os="aarch64"
++    HOST_CPU=aarch64
++    ;;
+   *)
+     echo "$as_me:$LINENO: result: failed" >&5
+ echo "${ECHO_T}failed" >&6
+Index: b/src/native/unix/support/apsupport.m4
+===================================================================
+--- a/src/native/unix/support/apsupport.m4
++++ b/src/native/unix/support/apsupport.m4
+@@ -171,6 +171,11 @@
+     supported_os="arm"
+     HOST_CPU=arm
+     ;;
++  aarch64)
++    CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
++    supported_os="aarch64"
++    HOST_CPU=aarch64
++    ;;
+   *)
+     AC_MSG_RESULT([failed])
+     AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
diff -Nru commons-daemon-1.0.15/debian/patches/series commons-daemon-1.0.15/debian/patches/series
--- commons-daemon-1.0.15/debian/patches/series	2013-04-05 20:48:30.000000000 +0100
+++ commons-daemon-1.0.15/debian/patches/series	2013-10-15 10:14:36.000000000 +0100
@@ -1,2 +1,3 @@
 libgcj_PR31700.diff
 kfreebsd_support.diff
+arm64.diff

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the pkg-java-maintainers mailing list