1
0
apache-commons-daemon/apache-commons-daemon-aarch64.patch
Michal Vyskocil 7b77b1fb4b - update to 1.0.15
* bugfix release, see RELEASE-NOTES.txt for a list of fixed bugs
- obsoleted patches:
  * 0001-execve-path-warning.patch, already upstream
  * jsvc-libcap-relative.patch, already upstream
  * config-guess-sub-update.patch, already upstream
- don't install pointless filesfor SUSE Linux
- verify package signature on openSUSE 12.3+
- use source urls

OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-daemon?expand=0&rev=10
2013-05-16 12:13:05 +00:00

31 lines
1.1 KiB
Diff

Index: commons-daemon-1.0.15-src/src/native/unix/configure
===================================================================
--- commons-daemon-1.0.15-src.orig/src/native/unix/configure
+++ commons-daemon-1.0.15-src/src/native/unix/configure
@@ -2705,6 +2705,10 @@ echo "$as_me: error: Unsupported operati
supported_os="arm"
HOST_CPU=arm
;;
+ aarch64)
+ CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
+ HOST_CPU=$host_cpu
+ ;;
*)
echo "$as_me:$LINENO: result: failed" >&5
echo "${ECHO_T}failed" >&6
Index: commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4
===================================================================
--- commons-daemon-1.0.15-src.orig/src/native/unix/support/apsupport.m4
+++ commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4
@@ -171,6 +171,10 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
supported_os="arm"
HOST_CPU=arm
;;
+ aarch64)
+ CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
+ HOST_CPU=$host_cpu
+ ;;
*)
AC_MSG_RESULT([failed])
AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;