Hello community,

here is the log from the commit of package libclaw for openSUSE:Factory checked 
in at 2017-06-20 09:40:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libclaw (Old)
 and      /work/SRC/openSUSE:Factory/.libclaw.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libclaw"

Tue Jun 20 09:40:07 2017 rev:2 rq:504502 version:1.7.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/libclaw/libclaw.changes  2017-02-19 
01:00:12.898467739 +0100
+++ /work/SRC/openSUSE:Factory/.libclaw.new/libclaw.changes     2017-06-20 
09:40:07.978287751 +0200
@@ -1,0 +2,5 @@
+Sun Jun 18 17:42:43 UTC 2017 - [email protected]
+
+- Added libclaw-1.7.4-gcc7.patch from Fedora.
+
+-------------------------------------------------------------------

New:
----
  libclaw-1.7.4-gcc7.patch

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

Other differences:
------------------
++++++ libclaw.spec ++++++
--- /var/tmp/diff_new_pack.qYX1lK/_old  2017-06-20 09:40:08.810170462 +0200
+++ /var/tmp/diff_new_pack.qYX1lK/_new  2017-06-20 09:40:08.814169898 +0200
@@ -32,6 +32,8 @@
 Patch2:         libclaw-doxy-w-date-time.patch
 # PATCH-FIX-UPSTREAM fix-cmake.patch
 Patch3:         fix-cmake.patch
+# PATCH-FIX-UPSTREAM to be built via gcc7.
+Patch4:         libclaw-1.7.4-gcc7.patch
 BuildRequires:  boost-devel >= 1.42
 BuildRequires:  cmake >= 2.8.8
 BuildRequires:  doxygen
@@ -81,6 +83,7 @@
 %patch1 -p1 -b .libdir
 %patch2
 %patch3 -p1
+%patch4 -p1
 # Fix encoding of examples
 find examples -type f |
 while read F

++++++ libclaw-1.7.4-gcc7.patch ++++++
Patch taken from upstream and edited for use in Fedora:

commit 6033275773313fe052f6e222321a8ec87587fbe6
Author: Julien Jorge <[email protected]>
Date:   Thu Apr 24 20:39:18 2014 +0200

    Fix various errors pointed by clang on iOS.

diff --git a/claw/impl/box_2d.tpp b/claw/impl/box_2d.tpp
index e4b6936..71f3883 100644
--- a/claw/impl/box_2d.tpp
+++ b/claw/impl/box_2d.tpp
@@ -136,8 +136,8 @@ template<typename U>
 claw::math::box_2d<U> claw::math::box_2d<T>::cast_value_type_to() const
 {
   return claw::math::box_2d<U>
-    ( first_point.cast_value_type_to<U>(),
-      second_point.cast_value_type_to<U>() );
+    ( first_point.template cast_value_type_to<U>(),
+      second_point.template cast_value_type_to<U>() );
 } // box_2d::cast_value_type_to()
 
 
/*----------------------------------------------------------------------------*/
diff --git a/claw/impl/rectangle.tpp b/claw/impl/rectangle.tpp
index 9e6f14a..3c3c8f3 100644
--- a/claw/impl/rectangle.tpp
+++ b/claw/impl/rectangle.tpp
@@ -140,7 +140,7 @@ template<typename U>
 claw::math::rectangle<U> claw::math::rectangle<T>::cast_value_type_to() const
 {
   return claw::math::rectangle<U>
-    ( position.cast_value_type_to<U>(), (U)width, (U)height );
+    ( position.template cast_value_type_to<U>(), (U)width, (U)height );
 } // rectangle::cast_value_type_to()
 
 
/*----------------------------------------------------------------------------*/

Reply via email to