r4985 - in packages/trunk/hex-a-hop/debian: . patches

Jens Seidel jseidel-guest at alioth.debian.org
Mon Dec 17 09:39:42 UTC 2007


Author: jseidel-guest
Date: 2007-12-17 09:39:42 +0000 (Mon, 17 Dec 2007)
New Revision: 4985

Added:
   packages/trunk/hex-a-hop/debian/patches/segfault_443822.patch
Modified:
   packages/trunk/hex-a-hop/debian/changelog
   packages/trunk/hex-a-hop/debian/patches/series
Log:
Fixed a crash which especially happened once lasers are involved.
Thanks Gerfried Fuchs <alfie at ist.org> for the report and Bas Wijnen
<wijnen at debian.org> and Roland Clobus <rclobus at bigfoot.com> for
analysing. Closes: #443822


Modified: packages/trunk/hex-a-hop/debian/changelog
===================================================================
--- packages/trunk/hex-a-hop/debian/changelog	2007-12-17 02:22:24 UTC (rev 4984)
+++ packages/trunk/hex-a-hop/debian/changelog	2007-12-17 09:39:42 UTC (rev 4985)
@@ -7,8 +7,12 @@
     <rclobus at bigfoot.com>. Closes: #456000
   * Drop XS- prefix from XS-Vcs-Svn and XS-Vcs-Browser fields in
     debian/control.
+  * Fixed a crash which especially happened once lasers are involved.
+    Thanks Gerfried Fuchs <alfie at ist.org> for the report and Bas Wijnen
+    <wijnen at debian.org> and Roland Clobus <rclobus at bigfoot.com> for
+    analysing. Closes: #443822
 
- -- Jens Seidel <jensseidel at users.sf.net>  Fri, 14 Dec 2007 16:30:00 +0200
+ -- Jens Seidel <jensseidel at users.sf.net>  Mon, 17 Dec 2007 16:30:00 +0200
 
 hex-a-hop (0.0.20070315-6) unstable; urgency=low
 

Added: packages/trunk/hex-a-hop/debian/patches/segfault_443822.patch
===================================================================
--- packages/trunk/hex-a-hop/debian/patches/segfault_443822.patch	                        (rev 0)
+++ packages/trunk/hex-a-hop/debian/patches/segfault_443822.patch	2007-12-17 09:39:42 UTC (rev 4985)
@@ -0,0 +1,15 @@
+# Copyright (C) 2007  Roland Clobus <rclobus at bigfoot.com>
+
+Index: hex-a-hop/hex_puzzzle.cpp
+===================================================================
+--- hex-a-hop.orig/hex_puzzzle.cpp	2007-12-17 10:33:15.000000000 +0100
++++ hex-a-hop/hex_puzzzle.cpp	2007-12-17 10:33:15.000000000 +0100
+@@ -602,6 +602,8 @@
+ 		{
+ 			while (numStages > 0 && time[numStages-1] >= t)
+ 				numStages--;
++			if (currentStage > 0 && currentStage >= numStages)
++				currentStage = numStages - 1;
+ 		}
+ 	}
+ 	void Wipe()

Modified: packages/trunk/hex-a-hop/debian/patches/series
===================================================================
--- packages/trunk/hex-a-hop/debian/patches/series	2007-12-17 02:22:24 UTC (rev 4984)
+++ packages/trunk/hex-a-hop/debian/patches/series	2007-12-17 09:39:42 UTC (rev 4985)
@@ -13,3 +13,4 @@
 misc_errors.patch
 reduce_cpu_usage.patch
 mouse-wheel-support.patch
+segfault_443822.patch




More information about the Pkg-games-commits mailing list