summaryrefslogtreecommitdiffstats
path: root/games/gnome-games
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-01-26 00:55:30 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-01-26 00:55:30 +0800
commit4988577d9e547815a65780c89e2f7595feb44cff (patch)
tree5b7810748b4ce1368edfe45cc4c59582f8ef7e04 /games/gnome-games
parent4119a5309b8861fd0a8413e9b1b0682a7e2b230c (diff)
downloadmarcuscom-ports-4988577d9e547815a65780c89e2f7595feb44cff.tar.gz
marcuscom-ports-4988577d9e547815a65780c89e2f7595feb44cff.tar.zst
marcuscom-ports-4988577d9e547815a65780c89e2f7595feb44cff.zip
Update to 2.9.5.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3503 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnome-games')
-rw-r--r--games/gnome-games/Makefile2
-rw-r--r--games/gnome-games/distinfo4
-rw-r--r--games/gnome-games/files/patch-iagno_othello.c28
3 files changed, 8 insertions, 26 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile
index c98388e7d..9b37399f5 100644
--- a/games/gnome-games/Makefile
+++ b/games/gnome-games/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnomegames2
-PORTVERSION= 2.9.4
+PORTVERSION= 2.9.5
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-games/2.9
diff --git a/games/gnome-games/distinfo b/games/gnome-games/distinfo
index dd25c3f05..b3f14b2f9 100644
--- a/games/gnome-games/distinfo
+++ b/games/gnome-games/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome2/gnome-games-2.9.4.tar.bz2) = e05312cefcc6eee58f1e182db4435043
-SIZE (gnome2/gnome-games-2.9.4.tar.bz2) = 6150651
+MD5 (gnome2/gnome-games-2.9.5.tar.bz2) = dd9f844d36a8b43a152a8c54d5f38ac8
+SIZE (gnome2/gnome-games-2.9.5.tar.bz2) = 6165447
diff --git a/games/gnome-games/files/patch-iagno_othello.c b/games/gnome-games/files/patch-iagno_othello.c
index 4b87018a5..1d6d8e88a 100644
--- a/games/gnome-games/files/patch-iagno_othello.c
+++ b/games/gnome-games/files/patch-iagno_othello.c
@@ -1,33 +1,15 @@
---- iagno/othello.c.orig Thu May 20 17:20:21 2004
-+++ iagno/othello.c Thu May 20 17:21:11 2004
-@@ -544,7 +544,7 @@
- memcpy (tboard, board, sizeof (gint8) * 8 * 8);
- move_board(tboard, i, j, me, 0);
-
-- // assume that opponent takes best move
-+ /* assume that opponent takes best move */
- tmp_move = find_best_move(tboard, not_me, ply_depth-1,
- -pass_thresh, -use_thresh, 0, 0);
-
-@@ -559,7 +559,7 @@
- }
- }
-
-- // check if we have to pass
-+ /* check if we have to pass */
- if (best_x == 8 && best_y == 8) {
- tmp_move = find_best_move(board, not_me, ply_depth-1,
- -pass_thresh, -use_thresh, 0, 0);
-@@ -802,14 +802,14 @@
+--- iagno/othello.c.orig Tue Jan 25 11:24:35 2005
++++ iagno/othello.c Tue Jan 25 11:24:56 2005
+@@ -784,14 +784,14 @@
found_free = TRUE;
}
- // check if a player is dead
+ /* check if a player is dead */
if (!found_me && found_not_me)
- return (-10000);
+ return (S_LOSING_GAME);
else if (found_me && !found_not_me)
- return (10000);
+ return (S_WINNING_GAME);
- // if the game is finished, return the actual score rather than
- // a huristic