r13792 - packages/trunk/funguloids/debian/patches

Fabian Greffrath fabian-guest at alioth.debian.org
Thu Oct 4 10:50:15 UTC 2012


Author: fabian-guest
Date: 2012-10-04 10:50:15 +0000 (Thu, 04 Oct 2012)
New Revision: 13792

Added:
   packages/trunk/funguloids/debian/patches/g++4.7.patch
Modified:
   packages/trunk/funguloids/debian/patches/series
Log:
Fix compilation with g++-4.7.

Added: packages/trunk/funguloids/debian/patches/g++4.7.patch
===================================================================
--- packages/trunk/funguloids/debian/patches/g++4.7.patch	                        (rev 0)
+++ packages/trunk/funguloids/debian/patches/g++4.7.patch	2012-10-04 10:50:15 UTC (rev 13792)
@@ -0,0 +1,14 @@
+Description: Fix compilation with g++-4.7
+Origin: https://build.opensuse.org/package/files?package=funguloids&project=games
+
+--- a/include/SimpleIni/SimpleIni.h
++++ b/include/SimpleIni/SimpleIni.h
+@@ -407,7 +407,7 @@ public:
+             return *this;
+         }
+         bool ConvertToStore(const SI_CHAR * a_pszString) {
+-            size_t uLen = SizeToStore(a_pszString);
++            size_t uLen = this->SizeToStore(a_pszString);
+             if (uLen == (size_t)(-1)) {
+                 return false;
+             }

Modified: packages/trunk/funguloids/debian/patches/series
===================================================================
--- packages/trunk/funguloids/debian/patches/series	2012-10-04 10:49:26 UTC (rev 13791)
+++ packages/trunk/funguloids/debian/patches/series	2012-10-04 10:50:15 UTC (rev 13792)
@@ -6,3 +6,4 @@
 ogre-1.6.1.patch
 g++4.6.patch
 optional_cg.patch
+g++4.7.patch




More information about the Pkg-games-commits mailing list