aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-01-18 04:44:18 +0800
committermiwi <miwi@FreeBSD.org>2007-01-18 04:44:18 +0800
commitbca3ccb94cd3f05ada1624bc60d87b783c3709ac (patch)
tree298c5441a8a0849dfa5d0c9e136d33b56741e6b8
parentf5c193c6900c09588f824f8f4f5c6f73612d0156 (diff)
downloadfreebsd-ports-gnome-bca3ccb94cd3f05ada1624bc60d87b783c3709ac.tar.gz
freebsd-ports-gnome-bca3ccb94cd3f05ada1624bc60d87b783c3709ac.tar.zst
freebsd-ports-gnome-bca3ccb94cd3f05ada1624bc60d87b783c3709ac.zip
- Update to 3.2.3
PR: 107999 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-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