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

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