Hello community,

here is the log from the commit of package Coin for openSUSE:Factory checked in 
at 2017-07-27 11:12:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/Coin (Old)
 and      /work/SRC/openSUSE:Factory/.Coin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "Coin"

Thu Jul 27 11:12:56 2017 rev:5 rq:512693 version:3.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/Coin/Coin.changes        2017-04-20 
20:55:32.001077378 +0200
+++ /work/SRC/openSUSE:Factory/.Coin.new/Coin.changes   2017-07-27 
11:13:40.481347538 +0200
@@ -1,0 +2,5 @@
+Sun Jul 23 19:29:55 UTC 2017 - o...@aepfle.de
+
+- Fix invalid C++ with Coin.patch
+
+-------------------------------------------------------------------

New:
----
  Coin.patch

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

Other differences:
------------------
++++++ Coin.spec ++++++
--- /var/tmp/diff_new_pack.aTjxXf/_old  2017-07-27 11:13:41.217243588 +0200
+++ /var/tmp/diff_new_pack.aTjxXf/_new  2017-07-27 11:13:41.221243023 +0200
@@ -29,6 +29,7 @@
 Patch0:         0012-memhandler-initialization.patch
 # X-OPENSUSE-PATCH: Coin60.patch -- hack around library policy names
 Patch1:         Coin60.patch
+Patch2:         Coin.patch
 BuildRequires:  c++_compiler
 BuildRequires:  doxygen
 BuildRequires:  fdupes
@@ -93,6 +94,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p0
+%patch2 -p1
 sed -i '/^#include "fonts\/freetype.h"$/i #include <cstdlib>\n#include 
<cmath>' src/fonts/freetype.cpp
 sed -i '/^#include <Inventor\/C\/basic.h>$/i #include 
<Inventor/C/errors/debugerror.h>' include/Inventor/SbBasic.h
 

++++++ Coin.patch ++++++
--- a/src/3ds/SoStream.cpp
+++ b/src/3ds/SoStream.cpp
@@ -176,7 +176,7 @@ do { \
   if (!gotNum) { setBadBit(); return FALSE; } \
  \
   char *ce; \
-  s = '\0'; \
+  s = 0; \
   _convertType_ tempVal = _convertFunc_(buf, &ce, 0); \
  \
   if (ce != s) \
@@ -273,7 +273,7 @@ do { \
 gotAll: \
   \
   char *ce; \
-  s = '\0'; \
+  s = 0; \
   double tempVal = _convertFunc_(buf, &ce); \
  \
   if (ce != s) \

Reply via email to