commit clanlib for openSUSE:Factory
Hello community, here is the log from the commit of package clanlib for openSUSE:Factory checked in at 2012-12-31 14:24:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/clanlib (Old) and /work/SRC/openSUSE:Factory/.clanlib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "clanlib", Maintainer is "orphaned@suse.de" Changes: -------- --- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes 2012-09-25 09:34:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib.changes 2012-12-31 14:24:35.000000000 +0100 @@ -1,0 +2,5 @@ +Sun Dec 30 22:37:49 UTC 2012 - dvaleev@suse.com + +- fix build for powerpc (clanlib-ppc.patch) + +------------------------------------------------------------------- New: ---- clanlib-ppc.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ clanlib.spec ++++++ --- /var/tmp/diff_new_pack.hmJOnn/_old 2012-12-31 14:24:37.000000000 +0100 +++ /var/tmp/diff_new_pack.hmJOnn/_new 2012-12-31 14:24:37.000000000 +0100 @@ -28,6 +28,8 @@ Source: ClanLib-%{version}.tgz # PATCH-FIX-UPSTREAM -- fix compilation with new Mesa, coolo@suse.de Patch0: ClanLib-2.3.6-fix-opengl.patch +# PATCH-FIX-OPENSUSE -- fix ppc build, dvaleev@suse.com +Patch1: clanlib-ppc.patch BuildRequires: Mesa-devel BuildRequires: alsa-devel BuildRequires: dos2unix @@ -74,6 +76,7 @@ %prep %setup -q -n ClanLib-%{version} %patch0 -p1 +%patch1 -p1 %build export CFLAGS="%{optflags}" @@ -82,6 +85,10 @@ export CFLAGS="$CFLAGS -DCL_ARM_PLATFORM" export CXXFLAGS="$CFLAGS -DCL_ARM_PLATFORM" %endif +%ifarch ppc ppc64 +export CFLAGS="$CFLAGS -DCL_PPC_PLATFORM" +export CXXFLAGS="$CFLAGS -DCL_PPC_PLATFORM" +%endif %ifarch %ix86 %configure --with-pic --disable-static --enable-asm386 --disable-docs %else ++++++ clanlib-ppc.patch ++++++ Index: ClanLib-2.3.6/Sources/Core/System/detect_cpu_ext.cpp =================================================================== --- ClanLib-2.3.6.orig/Sources/Core/System/detect_cpu_ext.cpp +++ ClanLib-2.3.6/Sources/Core/System/detect_cpu_ext.cpp @@ -30,7 +30,7 @@ #include "Core/precomp.h" #include "API/Core/System/system.h" -#ifdef CL_ARM_PLATFORM +#if defined(CL_ARM_PLATFORM)|| defined(CL_PPC_PLATFORM) bool CL_System::detect_cpu_extension(CL_CPU_ExtensionPPC ext) { throw ("Congratulations, you've just been selected to code this feature!"); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de