Hello community, here is the log from the commit of package jakarta-commons-daemon for openSUSE:Factory checked in at 2012-04-12 09:27:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jakarta-commons-daemon (Old) and /work/SRC/openSUSE:Factory/.jakarta-commons-daemon.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "jakarta-commons-daemon", Maintainer is "bnc-team-java@forge.provo.novell.com" Changes: -------- --- /work/SRC/openSUSE:Factory/jakarta-commons-daemon/jakarta-commons-daemon.changes 2011-09-23 02:03:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.jakarta-commons-daemon.new/jakarta-commons-daemon.changes 2012-04-12 09:27:15.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Apr 2 15:30:42 UTC 2012 - dvaleev@suse.com + +- fix ppc64 architecture detection + +------------------------------------------------------------------- New: ---- commons-daemon-1.0.7-ppc64-configure.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jakarta-commons-daemon.spec ++++++ --- /var/tmp/diff_new_pack.GqlPft/_old 2012-04-12 09:27:16.000000000 +0200 +++ /var/tmp/diff_new_pack.GqlPft/_new 2012-04-12 09:27:16.000000000 +0200 @@ -26,6 +26,7 @@ Url: http://commons.apache.org/daemon/ Source: commons-daemon-%{version}-src.tar.gz Patch0: commons-daemon-1.0.4-return_value.patch +Patch1: commons-daemon-1.0.7-ppc64-configure.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ant BuildRequires: java-devel @@ -64,6 +65,7 @@ %prep %setup -qn commons-daemon-%{version}-src %patch0 +%patch1 -p1 %build pushd src/native/unix ++++++ commons-daemon-1.0.7-ppc64-configure.patch ++++++ Index: commons-daemon-1.0.7-src/src/native/unix/configure =================================================================== --- commons-daemon-1.0.7-src.orig/src/native/unix/configure +++ commons-daemon-1.0.7-src/src/native/unix/configure @@ -2563,7 +2563,10 @@ echo "$as_me: error: Unsupported operati ;; esac case $host_cpu in - powerpc) + powerpc*) + CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" + HOST_CPU=$host_cpu;; + ppc*) CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" HOST_CPU=$host_cpu;; sparc*) Index: commons-daemon-1.0.7-src/src/native/unix/support/config.sub =================================================================== --- commons-daemon-1.0.7-src.orig/src/native/unix/support/config.sub +++ commons-daemon-1.0.7-src/src/native/unix/support/config.sub @@ -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 ;; -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org