Blame SOURCES/apache-commons-daemon-s390x.patch

eb8f0f
diff -up commons-daemon-1.0.10-src/src/native/unix/configure.s390x commons-daemon-1.0.10-src/src/native/unix/configure
eb8f0f
--- commons-daemon-1.0.10-src/src/native/unix/configure.s390x	2012-04-23 11:55:56.000000000 +0200
eb8f0f
+++ commons-daemon-1.0.10-src/src/native/unix/configure	2012-04-23 11:57:18.000000000 +0200
eb8f0f
@@ -2671,6 +2671,10 @@ echo "$as_me: error: Unsupported operati
eb8f0f
     CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
eb8f0f
     supported_os="s390"
eb8f0f
     HOST_CPU=s390;;
eb8f0f
+  s390x)
eb8f0f
+    CFLAGS="$CFLAGS -DCPU=\\\"s390x\\\""
eb8f0f
+    supported_os="s390x"
eb8f0f
+    HOST_CPU=s390x;;
eb8f0f
   arm*)
eb8f0f
     CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
eb8f0f
     supported_os="arm"
eb8f0f
diff -up commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4.s390x commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4
eb8f0f
--- commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4.s390x	2012-04-23 11:56:04.000000000 +0200
eb8f0f
+++ commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4	2012-04-23 11:56:41.000000000 +0200
eb8f0f
@@ -140,6 +140,10 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
eb8f0f
     CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
eb8f0f
     supported_os="s390"
eb8f0f
     HOST_CPU=s390;;
eb8f0f
+  s390x)
eb8f0f
+    CFLAGS="$CFLAGS -DCPU=\\\"s390x\\\""
eb8f0f
+    supported_os="s390x"
eb8f0f
+    HOST_CPU=s390x;;
eb8f0f
   arm*)
eb8f0f
     CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
eb8f0f
     supported_os="arm"