aboutsummaryrefslogtreecommitdiff
path: root/games/rocksndiamonds
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-01-17 20:44:18 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-01-17 20:44:18 +0000
commit05e161a336e6aa415e1c031a607044c5a8573dca (patch)
treeb07f96db95a6e09b44729816bb8a160483873296 /games/rocksndiamonds
parent7f66a964012e6b5e000b04080a36091e194bb552 (diff)
downloadports-05e161a336e6aa415e1c031a607044c5a8573dca.tar.gz
ports-05e161a336e6aa415e1c031a607044c5a8573dca.zip
Notes
Diffstat (limited to 'games/rocksndiamonds')
-rw-r--r--games/rocksndiamonds/Makefile2
-rw-r--r--games/rocksndiamonds/distinfo6
-rw-r--r--games/rocksndiamonds/files/patch-src__screens.c19
-rw-r--r--games/rocksndiamonds/pkg-plist2
4 files changed, 24 insertions, 5 deletions
diff --git a/games/rocksndiamonds/Makefile b/games/rocksndiamonds/Makefile
index d1a45db0ba4a..77513ba07e83 100644
--- a/games/rocksndiamonds/Makefile
+++ b/games/rocksndiamonds/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= rocksndiamonds
-PORTVERSION= 3.2.2
+PORTVERSION= 3.2.3
CATEGORIES= games
MASTER_SITES= http://www.artsoft.org/RELEASES/unix/rocksndiamonds/ \
http://homepages.compuserve.de/rocksndiamonds/
diff --git a/games/rocksndiamonds/distinfo b/games/rocksndiamonds/distinfo
index 9c4c787ada61..8ebe4ab33858 100644
--- a/games/rocksndiamonds/distinfo
+++ b/games/rocksndiamonds/distinfo
@@ -1,3 +1,3 @@
-MD5 (rocksndiamonds-3.2.2.tar.gz) = 1cc6ee0467d39e97ca06f86701b53a0d
-SHA256 (rocksndiamonds-3.2.2.tar.gz) = 71de1a4600373e3355119e3cc9708aeeb9b6fdc837f6eb8fa1c29783ae92a1fd
-SIZE (rocksndiamonds-3.2.2.tar.gz) = 3232607
+MD5 (rocksndiamonds-3.2.3.tar.gz) = 9e206899bdb5cddebf504d47bd75d62b
+SHA256 (rocksndiamonds-3.2.3.tar.gz) = 1585d3a5ee73519c3213115fb7a8cde4c845511eef9e9cf986c228c811eba1f4
+SIZE (rocksndiamonds-3.2.3.tar.gz) = 3266249
diff --git a/games/rocksndiamonds/files/patch-src__screens.c b/games/rocksndiamonds/files/patch-src__screens.c
new file mode 100644
index 000000000000..1c14561f0b32
--- /dev/null
+++ b/games/rocksndiamonds/files/patch-src__screens.c
@@ -0,0 +1,19 @@
+--- src/screens.c.orig Thu Dec 28 11:16:25 2006
++++ src/screens.c Tue Jan 16 02:53:33 2007
+@@ -550,11 +550,14 @@
+
+ static boolean insideMenuPosRect(struct MenuPosInfo *rect, int x, int y)
+ {
++ int rect_x;
++ int rect_y;
++
+ if (rect == NULL)
+ return FALSE;
+
+- int rect_x = ALIGNED_XPOS(rect->x, rect->width, rect->align);
+- int rect_y = rect->y;
++ rect_x = ALIGNED_XPOS(rect->x, rect->width, rect->align);
++ rect_y = rect->y;
+
+ return (x >= rect_x && x < rect_x + rect->width &&
+ y >= rect_y && y < rect_y + rect->height);
diff --git a/games/rocksndiamonds/pkg-plist b/games/rocksndiamonds/pkg-plist
index cd5218b9109b..cf6ba455b190 100644
--- a/games/rocksndiamonds/pkg-plist
+++ b/games/rocksndiamonds/pkg-plist
@@ -124,7 +124,6 @@ bin/rocksndiamonds
%%PORTDOCS%%%%DOCSDIR%%/elements/lamp.active.txt
%%PORTDOCS%%%%DOCSDIR%%/elements/lamp.txt
%%PORTDOCS%%%%DOCSDIR%%/elements/landmine.txt
-%%PORTDOCS%%%%DOCSDIR%%/elements/last_ce.txt
%%PORTDOCS%%%%DOCSDIR%%/elements/light_switch.active.txt
%%PORTDOCS%%%%DOCSDIR%%/elements/light_switch.txt
%%PORTDOCS%%%%DOCSDIR%%/elements/magic_wall.txt
@@ -139,6 +138,7 @@ bin/rocksndiamonds
%%PORTDOCS%%%%DOCSDIR%%/elements/player_2.txt
%%PORTDOCS%%%%DOCSDIR%%/elements/player_3.txt
%%PORTDOCS%%%%DOCSDIR%%/elements/player_4.txt
+%%PORTDOCS%%%%DOCSDIR%%/elements/prev_ce.txt
%%PORTDOCS%%%%DOCSDIR%%/elements/quicksand_empty.txt
%%PORTDOCS%%%%DOCSDIR%%/elements/quicksand_full.txt
%%PORTDOCS%%%%DOCSDIR%%/elements/robot.txt