1
0
apache-commons-daemon/apache-commons-daemon-aarch64.patch
Michal Vyskocil cf74a44e5e Accepting request 161101 from devel:ARM:AArch64:Factory
- config-guess-sub-update.patch: update config.guess/sub for aarch64
- apache-commons-daemon-aarch64.patch: add aarch64 to the list of
  supported cpus

OBS-URL: https://build.opensuse.org/request/show/161101
OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-daemon?expand=0&rev=8
2013-03-26 14:08:47 +00:00

29 lines
1.1 KiB
Diff

Index: commons-daemon-1.0.10-src/src/native/unix/configure
===================================================================
--- commons-daemon-1.0.10-src.orig/src/native/unix/configure
+++ commons-daemon-1.0.10-src/src/native/unix/configure
@@ -2682,6 +2682,9 @@ echo "$as_me: error: Unsupported operati
CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
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.10-src/src/native/unix/support/apsupport.m4
===================================================================
--- commons-daemon-1.0.10-src.orig/src/native/unix/support/apsupport.m4
+++ commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4
@@ -148,6 +148,9 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
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"]);;