Mailinglist Archive: opensuse-commit (1737 mails)

< Previous Next >
commit xosview for openSUSE:Factory
Hello community,

here is the log from the commit of package xosview for openSUSE:Factory checked
in at 2012-02-02 18:01:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xosview (Old)
and /work/SRC/openSUSE:Factory/.xosview.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xosview", Maintainer is "werner@xxxxxxxx"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xosview/xosview.changes 2011-12-25
17:43:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xosview.new/xosview.changes 2012-02-02
18:01:18.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Jan 31 20:15:04 UTC 2012 - dvaleev@xxxxxxxx
+
+- fix ppc64 build
+
+-------------------------------------------------------------------

New:
----
xosview-config.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xosview.spec ++++++
--- /var/tmp/diff_new_pack.CoKoZP/_old 2012-02-02 18:01:19.000000000 +0100
+++ /var/tmp/diff_new_pack.CoKoZP/_new 2012-02-02 18:01:19.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package xosview
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
#


+
Name: xosview
BuildRequires: autoconf
BuildRequires: gcc-c++
@@ -50,6 +51,7 @@
Patch9: xosview-1.8.2-configure.patch
Patch10: xosview-1.8.3-appdef.dif
Patch11: xosview-1.8.3-diskstat.dif
+Patch12: xosview-config.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config
--variable prefix x11 || echo /usr/X11R6)}
%if "%_exec_prefix" == "/usr/X11R6"
@@ -83,12 +85,17 @@
%patch9 -p0 -b ".conf"
%patch10 -p0 -b ".appdef"
%patch11 -p0 -b ".diskstat"
+%patch12
%patch

%build
%ifarch ppc
export SYSTEM=powerpc-suse-linux
-%else
+%endif
+%ifarch ppc64
+export SYSTEM=ppc64-suse-linux
+%endif
+%ifnarch ppc ppc64
export SYSTEM=%{_target_cpu}-suse-linux
%endif
CFLAGS="$RPM_OPT_FLAGS"

++++++ xosview-config.diff ++++++
--- config/config.guess.old 2012-01-31 22:41:22.000000000 +0100
+++ config/config.guess 2012-01-31 22:41:48.000000000 +0100
@@ -778,6 +778,9 @@
ppc:Linux:*:*)
echo powerpc-unknown-linux-gnu
exit 0 ;;
+ ppc64:Linux:*:*)
+ echo powerpc64-unknown-linux-gnu
+ exit 0 ;;
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
EV5) UNAME_MACHINE=alphaev5 ;;
--- config/config.sub.old 2012-01-31 22:56:15.000000000 +0100
+++ config/config.sub 2012-01-31 22:58:44.000000000 +0100
@@ -233,7 +233,7 @@
| 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 \
@@ -730,8 +730,12 @@
;;
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread