forked from pool/apache-commons-daemon
7b77b1fb4b
* 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
33 lines
1.1 KiB
Diff
33 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
|
|
@@ -2692,6 +2692,11 @@ echo "$as_me: error: Unsupported operati
|
|
supported_os="s390"
|
|
HOST_CPU=s390
|
|
;;
|
|
+ s390x)
|
|
+ CFLAGS="$CFLAGS -DCPU=\\\"s390x\\\""
|
|
+ supported_os="s390x"
|
|
+ HOST_CPU=s390x
|
|
+ ;;
|
|
arm*)
|
|
CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
|
|
supported_os="arm"
|
|
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
|
|
@@ -161,6 +161,11 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
|
|
supported_os="s390"
|
|
HOST_CPU=s390
|
|
;;
|
|
+ s390x)
|
|
+ CFLAGS="$CFLAGS -DCPU=\\\"s390x\\\""
|
|
+ supported_os="s390x"
|
|
+ HOST_CPU=s390x
|
|
+ ;;
|
|
arm*)
|
|
CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
|
|
supported_os="arm"
|