Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2015-10-24 10:29:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and      /work/SRC/openSUSE:Factory/.clanlib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clanlib"

Changes:
--------
--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2013-11-08 
08:34:28.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib.changes     2015-10-24 
10:30:08.000000000 +0200
@@ -1,0 +2,9 @@
+Tue Oct 20 14:54:12 UTC 2015 - [email protected]
+
+- Use -std=gnu++11 option for ppc64le.
+  According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241
+  it avoids "cannot convert 'bool' to '__vector(4) __bool int'
+  in return" errors.
+  Patch file: stdgnu++11.patch
+
+-------------------------------------------------------------------

New:
----
  stdgnu++11.patch

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

Other differences:
------------------
++++++ clanlib-doc.spec ++++++
--- /var/tmp/diff_new_pack.CZJKny/_old  2015-10-24 10:30:10.000000000 +0200
+++ /var/tmp/diff_new_pack.CZJKny/_new  2015-10-24 10:30:10.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package clanlib-doc
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++++++ clanlib.spec ++++++
--- /var/tmp/diff_new_pack.CZJKny/_old  2015-10-24 10:30:10.000000000 +0200
+++ /var/tmp/diff_new_pack.CZJKny/_new  2015-10-24 10:30:10.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package clanlib
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,8 @@
 Patch0:         ClanLib-2.3.6-fix-opengl.patch
 # PATCH-FIX-UPSTREAM -- Use cpuid only on x86, [email protected]
 Patch1:         clanlib-cpuid.patch
+# Use std=gnu++11 option for ppc64le
+Patch2:         stdgnu++11.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  alsa-devel
 BuildRequires:  dos2unix
@@ -77,6 +79,7 @@
 %setup -q -n ClanLib-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %configure --with-pic --disable-static --disable-docs

++++++ stdgnu++11.patch ++++++
---
 configure    |   18 ++++++++++++++++--
 configure.ac |   18 ++++++++++++++++--
 2 files changed, 32 insertions(+), 4 deletions(-)

Index: ClanLib-2.3.6/configure
===================================================================
--- ClanLib-2.3.6.orig/configure
+++ ClanLib-2.3.6/configure
@@ -15140,7 +15140,14 @@ case $target in
        *)
                X11="yes"
                WIN32="no"
-               CXXFLAGS="$CXXFLAGS -std=c++0x"
+               case $host in
+                   powerpc64le-*)
+                       CXXFLAGS="$CXXFLAGS -std=gnu++11"
+                       ;;
+                   *)
+                       CXXFLAGS="$CXXFLAGS -std=c++0x"
+                       ;;
+               esac
                ;;
 esac
 
@@ -15399,7 +15406,14 @@ if test "$use_sse2" != "no"; then
 fi
 
 if test "$WIN32" = "no"; then
-       extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread -std=c++0x"
+    case $host in
+       powerpc64le-*)
+           extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread -std=gnu++11"
+           ;;
+       *)
+           extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread -std=c++0x"
+           ;;
+    esac
 else
        extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -mthreads -std=c++0x"
 fi
Index: ClanLib-2.3.6/configure.ac
===================================================================
--- ClanLib-2.3.6.orig/configure.ac
+++ ClanLib-2.3.6/configure.ac
@@ -119,7 +119,14 @@ case $target in
        *)
                X11="yes"
                WIN32="no"
-               CXXFLAGS="$CXXFLAGS -std=c++0x"
+               case $host in
+                   powerpc64le-*)
+                       CXXFLAGS="$CXXFLAGS -std=gnu++11"
+                       ;;
+                   *)
+                       CXXFLAGS="$CXXFLAGS -std=c++0x"
+                       ;;
+                esac
                ;;
 esac
 
@@ -250,7 +257,14 @@ if test "$use_sse2" != "no"; then
 fi
 
 if test "$WIN32" = "no"; then
-       extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread -std=c++0x"
+        case $host in
+            powerpc64le-*)
+               extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread 
-std=gnu++11"
+                ;;
+            *)
+               extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread 
-std=c++0x"
+                ;;
+        esac
 else
        extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -mthreads -std=c++0x"
 fi

Reply via email to