[commons-daemon] 49/52: add patches for arm64 and ppc64el

Tony Mancill tmancill at moszumanska.debian.org
Wed Nov 12 05:31:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch master
in repository commons-daemon.

commit c1f9267ea3e099d23ed1c64a531f32b66b1215be
Author: tony mancill <tmancill at debian.org>
Date:   Tue Nov 11 06:50:23 2014 -0800

    add patches for arm64 and ppc64el
---
 debian/patches/arm64.diff   | 37 +++++++++++++++++++++++++++++++++++++
 debian/patches/ppc64el.diff | 37 +++++++++++++++++++++++++++++++++++++
 debian/patches/series       |  2 ++
 3 files changed, 76 insertions(+)

diff --git a/debian/patches/arm64.diff b/debian/patches/arm64.diff
new file mode 100644
index 0000000..f971393
--- /dev/null
+++ b/debian/patches/arm64.diff
@@ -0,0 +1,37 @@
+Description: Add ARM64 support
+Author: Colin Watson <cjwatson at ubuntu.com>
+Forwarded: https://issues.apache.org/jira/browse/DAEMON-308
+Last-Update: 2014-11-06
+
+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
+@@ -176,6 +176,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 --git a/debian/patches/ppc64el.diff b/debian/patches/ppc64el.diff
new file mode 100644
index 0000000..f0a6601
--- /dev/null
+++ b/debian/patches/ppc64el.diff
@@ -0,0 +1,37 @@
+Description: Add ppc64el support
+Author: Colin Watson <cjwatson at ubuntu.com>
+Forwarded: https://issues.apache.org/jira/browse/DAEMON-326
+Last-Update: 2014-11-06
+
+Index: b/src/native/unix/configure
+===================================================================
+--- a/src/native/unix/configure
++++ b/src/native/unix/configure
+@@ -2702,6 +2702,11 @@
+     supported_os="aarch64"
+     HOST_CPU=aarch64
+     ;;
++  powerpc64le)
++    CFLAGS="$CFLAGS -DCPU=\\\"powerpc64le\\\""
++    supported_os="powerpc64le"
++    HOST_CPU=powerpc64le
++    ;;
+   *)
+     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
+@@ -181,6 +181,11 @@
+     supported_os="aarch64"
+     HOST_CPU=aarch64
+     ;;
++  powerpc64le)
++    CFLAGS="$CFLAGS -DCPU=\\\"powerpc64le\\\""
++    supported_os="powerpc64le"
++    HOST_CPU=powerpc64le
++    ;;
+   *)
+     AC_MSG_RESULT([failed])
+     AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
diff --git a/debian/patches/series b/debian/patches/series
index 178c27a..d0f7e7b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,5 @@ kfreebsd_support.diff
 s390x_support.diff
 hurd_support.diff
 mips_abi_n32_n64_support.diff
+arm64.diff
+ppc64el.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/commons-daemon.git



More information about the pkg-java-commits mailing list