r32838 - in /desktop/experimental/gnome-games/debian: changelog patches/git_fix-iagno-ai.patch patches/series
jbicha-guest at users.alioth.debian.org
jbicha-guest at users.alioth.debian.org
Thu Mar 8 05:42:09 UTC 2012
Author: jbicha-guest
Date: Thu Mar 8 05:42:08 2012
New Revision: 32838
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=32838
Log:
* debian/patches/git_fix-iagno-ai.patch:
- One line patch to fix broken computer player in Iagno
Added:
desktop/experimental/gnome-games/debian/patches/git_fix-iagno-ai.patch
Modified:
desktop/experimental/gnome-games/debian/changelog
desktop/experimental/gnome-games/debian/patches/series
Modified: desktop/experimental/gnome-games/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-games/debian/changelog?rev=32838&op=diff
==============================================================================
--- desktop/experimental/gnome-games/debian/changelog [utf-8] (original)
+++ desktop/experimental/gnome-games/debian/changelog [utf-8] Thu Mar 8 05:42:08 2012
@@ -1,5 +1,6 @@
gnome-games (1:3.3.91.1-1) UNRELEASED; urgency=low
+ [ Jeremy Bicha ]
* New upstream release
* Re-enable lightsoff and swell-foop
* debian.control.in:
@@ -10,6 +11,8 @@
* Add girepository-1.0-dev build-depends and enable introspection
* debian/*.install: Updated for new files and directories
* debian/patches/90_fix-sudoku-borders.patch: Dropped, applied upstream
+ * debian/patches/git_fix-iagno-ai.patch:
+ - One line patch to fix broken computer player in Iagno
-- Jeremy Bicha <jbicha at ubuntu.com> Sun, 04 Mar 2012 21:34:27 -0500
Added: desktop/experimental/gnome-games/debian/patches/git_fix-iagno-ai.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-games/debian/patches/git_fix-iagno-ai.patch?rev=32838&op=file
==============================================================================
--- desktop/experimental/gnome-games/debian/patches/git_fix-iagno-ai.patch (added)
+++ desktop/experimental/gnome-games/debian/patches/git_fix-iagno-ai.patch [utf-8] Thu Mar 8 05:42:08 2012
@@ -1,0 +1,24 @@
+From b2554eaa4b96e56e43bc29859b1fcd13984ad2f9 Mon Sep 17 00:00:00 2001
+From: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
+Date: Wed, 07 Mar 2012 19:00:25 +0000
+Subject: iagno: Game.copy should use width/height from the original
+
+Before it would use the properties on the new instance that would both be 0.
+
+The bug will only occur when the AI must make a move on a board with >8 pieces.
+
+GNOME bug #668553
+---
+diff --git a/iagno/src/game.vala b/iagno/src/game.vala
+index c1f2f7f..d6430ac 100644
+--- a/iagno/src/game.vala
++++ b/iagno/src/game.vala
+@@ -111,7 +111,7 @@ public class Game
+
+ public Game.copy (Game game)
+ {
+- tiles = new Player[width, height];
++ tiles = new Player[game.width, game.height];
+ for (var x = 0; x < width; x++)
+ for (var y = 0; y < height; y++)
+ tiles[x, y] = game.tiles[x, y];
Modified: desktop/experimental/gnome-games/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-games/debian/patches/series?rev=32838&op=diff
==============================================================================
--- desktop/experimental/gnome-games/debian/patches/series [utf-8] (original)
+++ desktop/experimental/gnome-games/debian/patches/series [utf-8] Thu Mar 8 05:42:08 2012
@@ -1,0 +1,1 @@
+git_fix-iagno-ai.patch
More information about the pkg-gnome-commits
mailing list