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

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