r4294 - in packages/trunk/blockattack/debian: . patches

Jordà Polo jorda-guest at alioth.debian.org
Sat Sep 29 21:24:49 UTC 2007


Author: jorda-guest
Date: 2007-09-29 21:24:49 +0000 (Sat, 29 Sep 2007)
New Revision: 4294

Added:
   packages/trunk/blockattack/debian/patches/replay_init.diff
Modified:
   packages/trunk/blockattack/debian/changelog
   packages/trunk/blockattack/debian/patches/series
Log:
Fixing segfault caused due to uninitialized variable.


Modified: packages/trunk/blockattack/debian/changelog
===================================================================
--- packages/trunk/blockattack/debian/changelog	2007-09-29 16:22:56 UTC (rev 4293)
+++ packages/trunk/blockattack/debian/changelog	2007-09-29 21:24:49 UTC (rev 4294)
@@ -8,11 +8,13 @@
     (thanks Linas Žvirblis)
 
   [ Jordà Polo ]
-  * debian/patches/scons_args.diff: New patch to fix scons command-line
-    argument handling. (Closes: #444536)
+  * debian/patches:
+    + scons_args.diff: New patch to fix scons command-line argument handling.
+      (Closes: #444536)
+    + replay_init.diff: New patch to initialize the Replay class correctly.
   * debian/control: Added Homepage and XS-Vcs-Browser fields.
 
- -- Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>  Sat, 29 Sep 2007 17:43:04 +0200
+ -- Cyril Brulebois <cyril.brulebois at enst-bretagne.fr>  Sat, 29 Sep 2007 23:05:36 +0200
 
 blockattack (1.3.1-1) unstable; urgency=low
 

Added: packages/trunk/blockattack/debian/patches/replay_init.diff
===================================================================
--- packages/trunk/blockattack/debian/patches/replay_init.diff	                        (rev 0)
+++ packages/trunk/blockattack/debian/patches/replay_init.diff	2007-09-29 21:24:49 UTC (rev 4294)
@@ -0,0 +1,22 @@
+--- blockattack-1.3.1.orig/replay.cpp
++++ blockattack-1.3.1/replay.cpp
+@@ -29,7 +29,7 @@
+ 
+ #include "replay.h"
+ 
+-void Replay::newReplay()
++Replay::Replay()
+ {
+ 	nrOfFrames=0;
+ }
+--- blockattack-1.3.1.orig/replay.h
++++ blockattack-1.3.1/replay.h
+@@ -66,7 +66,7 @@
+       enum { gameOver=0, winner, looser, draw } theResult;
+       
+       public:     
+-      void newReplay(); //Constructor
++      Replay(); //Constructor
+       Uint32 getNumberOfFrames(); //Returns number of frames
+       void setFrameSecTo(Uint32,boardPackage); //Sets frame at a given time to the package
+       void setFinalFrame(boardPackage,int); //Sets the final package

Modified: packages/trunk/blockattack/debian/patches/series
===================================================================
--- packages/trunk/blockattack/debian/patches/series	2007-09-29 16:22:56 UTC (rev 4293)
+++ packages/trunk/blockattack/debian/patches/series	2007-09-29 21:24:49 UTC (rev 4294)
@@ -1,3 +1,4 @@
 scons_args.diff
 fix_scons.diff
 fix_spelling.diff
+replay_init.diff




More information about the Pkg-games-commits mailing list