diff -Nru gnome-games-3.3.91.1/debian/changelog gnome-games-3.3.91.1/debian/changelog --- gnome-games-3.3.91.1/debian/changelog 2012-03-06 00:53:18.000000000 +0000 +++ gnome-games-3.3.91.1/debian/changelog 2012-03-08 05:19:15.000000000 +0000 @@ -1,3 +1,10 @@ +gnome-games (1:3.3.91.1-0ubuntu2) precise; urgency=low + + * debian/patches/git_fix-iagno-ai.patch: + - One line patch to fix broken computer player in Iagno + + -- Jeremy Bicha Thu, 08 Mar 2012 00:17:58 -0500 + gnome-games (1:3.3.91.1-0ubuntu1) precise; urgency=low * New upstream release. diff -Nru gnome-games-3.3.91.1/debian/patches/git_fix-iagno-ai.patch gnome-games-3.3.91.1/debian/patches/git_fix-iagno-ai.patch --- gnome-games-3.3.91.1/debian/patches/git_fix-iagno-ai.patch 1970-01-01 00:00:00.000000000 +0000 +++ gnome-games-3.3.91.1/debian/patches/git_fix-iagno-ai.patch 2012-03-08 05:19:15.000000000 +0000 @@ -0,0 +1,24 @@ +From b2554eaa4b96e56e43bc29859b1fcd13984ad2f9 Mon Sep 17 00:00:00 2001 +From: Thomas Hindoe Paaboel Andersen +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]; diff -Nru gnome-games-3.3.91.1/debian/patches/series gnome-games-3.3.91.1/debian/patches/series --- gnome-games-3.3.91.1/debian/patches/series 2012-03-06 00:53:18.000000000 +0000 +++ gnome-games-3.3.91.1/debian/patches/series 2012-03-08 05:19:15.000000000 +0000 @@ -1,3 +1,4 @@ 01_lpi.patch 02_desktop-path.patch 03_add-keywords.patch +git_fix-iagno-ai.patch