rpms/jakarta-commons-daemon/devel jakarta-commons-daemon-ppc64-configure.patch, NONE, 1.1 jakarta-commons-daemon.spec, 1.23, 1.24

Karsten Hopp karsten at fedoraproject.org
Tue Mar 3 14:19:30 UTC 2009


Author: karsten

Update of /cvs/extras/rpms/jakarta-commons-daemon/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv593

Modified Files:
	jakarta-commons-daemon.spec 
Added Files:
	jakarta-commons-daemon-ppc64-configure.patch 
Log Message:
- ppc needs a similar patch


jakarta-commons-daemon-ppc64-configure.patch:

--- NEW FILE jakarta-commons-daemon-ppc64-configure.patch ---
diff -up src/native/unix/configure.ppc src/native/unix/configure
--- src/native/unix/configure.ppc	2009-03-03 14:12:41.000000000 +0100
+++ src/native/unix/configure	2009-03-03 14:12:44.000000000 +0100
@@ -2422,7 +2422,9 @@ echo "$as_me: error: Unsupported operati
     ;;
   esac
   case $host_cpu in
-  powerpc)
+  powerpc*)
+    CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" ;;
+  ppc*)
     CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" ;;
   sparc*)
     CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" ;;
diff -up src/native/unix/support/config.sub.ppc src/native/unix/support/config.sub
--- src/native/unix/support/config.sub.ppc	2009-03-03 14:13:10.000000000 +0100
+++ src/native/unix/support/config.sub	2009-03-03 15:08:18.000000000 +0100
@@ -225,7 +225,7 @@ case $basic_machine in
 		| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
 		| alphaev6[78] \
 		| we32k | ns16k | clipper | i370 | sh | sh[34] \
-		| powerpc | powerpcle \
+		| powerpc | powerpc64 | powerpcle \
 		| 1750a | dsp16xx | pdp10 | pdp11 \
 		| mips16 | mips64 | mipsel | mips64el \
 		| mips64orion | mips64orionel | mipstx39 | mipstx39el \
@@ -272,7 +272,8 @@ case $basic_machine in
 	      | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
 	      | clipper-* | orion-* \
 	      | sparclite-* | pdp10-* | pdp11-* | sh-* | sh[34]-* | sh[34]eb-* \
-	      | powerpc-* | powerpcle-* | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
+	      | powerpc-* | powerpc64-* | powerpcle-* \
+          | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
 	      | mips16-* | mips64-* | mipsel-* \
 	      | mips64el-* | mips64orion-* | mips64orionel-* \
 	      | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
@@ -719,8 +720,12 @@ case $basic_machine in
 		;;
 	ppc)	basic_machine=powerpc-unknown
 	        ;;
+	ppc64)	basic_machine=powerpc64-unknown
+	        ;;
 	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
+	ppc64-*)	basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	ppcle | powerpclittle | ppc-le | powerpc-little)
 		basic_machine=powerpcle-unknown
 	        ;;


Index: jakarta-commons-daemon.spec
===================================================================
RCS file: /cvs/extras/rpms/jakarta-commons-daemon/devel/jakarta-commons-daemon.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- jakarta-commons-daemon.spec	3 Mar 2009 11:40:13 -0000	1.23
+++ jakarta-commons-daemon.spec	3 Mar 2009 14:18:59 -0000	1.24
@@ -39,7 +39,7 @@
 
 Name:           jakarta-%{short_name}
 Version:        1.0.1
-Release:        7.7%{?dist}
+Release:        7.8%{?dist}
 Epoch:          1
 Summary:        Defines API to support an alternative invocation mechanism
 License:        ASL 2.0
@@ -50,6 +50,7 @@
 Patch1:          %{name}-execve-path-warning.patch
 Patch2:          %{name}-ia64-configure.patch
 Patch3:          %{name}-s390x-configure.patch
+Patch4:          %{name}-ppc64-configure.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %if %{native}
@@ -107,7 +108,8 @@
 %patch0 -p0
 %patch1 -p0
 %patch2 -p0
-%patch3 -p0
+%patch3 -p0 -b .s390x
+%patch4 -p0 -b .ppc
 chmod 644 src/samples/*
 %if %{native}
 pushd src/native/unix
@@ -191,6 +193,9 @@
 %endif
 
 %changelog
+* Tue Mar 03 2009 Karsten Hopp <karsten at redhat.com> 1.0.1-7.8
+- ppc needs a similar patch
+
 * Tue Mar 03 2009 Karsten Hopp <karsten at redhat.com> 1.0.1-7.7
 - add configure patch for s390x
 




More information about the fedora-extras-commits mailing list