r14305 - in packages/trunk/sdl-ball/debian: . patches

Evgeni Golov evgeni at alioth.debian.org
Sun Jun 23 11:29:02 UTC 2013


Author: evgeni
Date: 2013-06-23 11:29:02 +0000 (Sun, 23 Jun 2013)
New Revision: 14305

Added:
   packages/trunk/sdl-ball/debian/patches/gcc-4.8-ftbfs.patch
Modified:
   packages/trunk/sdl-ball/debian/changelog
   packages/trunk/sdl-ball/debian/patches/series
Log:
Fix FTBFS with gcc 4.8 due to stray ‘,’


Modified: packages/trunk/sdl-ball/debian/changelog
===================================================================
--- packages/trunk/sdl-ball/debian/changelog	2013-06-22 18:32:49 UTC (rev 14304)
+++ packages/trunk/sdl-ball/debian/changelog	2013-06-23 11:29:02 UTC (rev 14305)
@@ -1,3 +1,11 @@
+sdl-ball (1.01-4) UNRELEASED; urgency=low
+
+  * Fix FTBFS with gcc 4.8 due to stray ‘,’.
+    Thanks: Juhani Numminen <juhaninumminen0 at gmail.com>
+    Closes: #701355
+
+ -- Evgeni Golov <evgeni at debian.org>  Sun, 23 Jun 2013 12:59:25 +0200
+
 sdl-ball (1.01-3) unstable; urgency=low
 
   * Fix FTBFS due to wrong use of the override targets of dh.

Added: packages/trunk/sdl-ball/debian/patches/gcc-4.8-ftbfs.patch
===================================================================
--- packages/trunk/sdl-ball/debian/patches/gcc-4.8-ftbfs.patch	                        (rev 0)
+++ packages/trunk/sdl-ball/debian/patches/gcc-4.8-ftbfs.patch	2013-06-23 11:29:02 UTC (rev 14305)
@@ -0,0 +1,16 @@
+Description: Fix FTBFS with gcc-4.8 by removing stray ‘,’
+Author: Juhani Numminen <juhaninumminen0 at gmail.com>
+Bug-Debian: http://bugs.debian.org/701355
+Last-Update: 2013-06-06
+
+--- sdl-ball-1.01.orig/main.cpp
++++ sdl-ball-1.01/main.cpp
+@@ -1420,7 +1420,7 @@ int LinesCross(float x0,float y0,float x
+ //Leaves an trail of the ball
+ class tracer {
+   private:
+-    GLfloat x[100], y[100], r[100], g[100], b[100], a[100],s[100], cr,cg,cb,;
++    GLfloat x[100], y[100], r[100], g[100], b[100], a[100],s[100], cr,cg,cb;
+     bool active[100];
+     int color;
+     GLfloat lastX, lastY; //Last position where we spawned one

Modified: packages/trunk/sdl-ball/debian/patches/series
===================================================================
--- packages/trunk/sdl-ball/debian/patches/series	2013-06-22 18:32:49 UTC (rev 14304)
+++ packages/trunk/sdl-ball/debian/patches/series	2013-06-23 11:29:02 UTC (rev 14305)
@@ -1,2 +1,3 @@
 gcc-4.7-ftbfs.patch
+gcc-4.8-ftbfs.patch
 typo.patch




More information about the Pkg-games-commits mailing list