summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/xfrisk/Makefile4
-rw-r--r--games/xfrisk/distinfo3
-rw-r--r--games/xfrisk/patches/patch-gui_c15
3 files changed, 19 insertions, 3 deletions
diff --git a/games/xfrisk/Makefile b/games/xfrisk/Makefile
index b5de964fdec..d8b02235915 100644
--- a/games/xfrisk/Makefile
+++ b/games/xfrisk/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.26 2012/02/04 23:42:12 dholland Exp $
+# $NetBSD: Makefile,v 1.27 2012/02/05 00:02:47 dholland Exp $
#
DISTNAME= xfrisk-1.2
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= games
MASTER_SITES= http://www.tuxick.net/xfrisk/files/
diff --git a/games/xfrisk/distinfo b/games/xfrisk/distinfo
index 7da8799a1e9..92886fa2201 100644
--- a/games/xfrisk/distinfo
+++ b/games/xfrisk/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2010/11/13 00:08:55 dholland Exp $
+$NetBSD: distinfo,v 1.9 2012/02/05 00:02:47 dholland Exp $
SHA1 (xfrisk-1.2.tar.gz) = 2a82c4be95e151fd34f816aaa125f3eb237c28be
RMD160 (xfrisk-1.2.tar.gz) = 7e55be2742bf9b2db40cc10156a6ff615bc37e7a
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = 8c458f0fa7db8e2a032f592b857f4024769cb4f1
SHA1 (patch-ac) = ed2194b764c3d78eedabceb9136814cffcb8f25f
SHA1 (patch-ad) = abd57e121edccbf1f3f78d8f124fbc198722dfcd
SHA1 (patch-ae) = 173820eabda55fce02fedae4be2d853ba7d5b31f
+SHA1 (patch-gui_c) = 7317a10b1883a5f230c5dd8e3be89d10598d4fb4
diff --git a/games/xfrisk/patches/patch-gui_c b/games/xfrisk/patches/patch-gui_c
new file mode 100644
index 00000000000..cb388d08378
--- /dev/null
+++ b/games/xfrisk/patches/patch-gui_c
@@ -0,0 +1,15 @@
+$NetBSD: patch-gui_c,v 1.1 2012/02/05 00:02:47 dholland Exp $
+
+Fix LP64 bug (that only became a fatal crash with gcc 4.5)
+
+--- gui.c~ 2000-01-10 22:47:40.000000000 +0000
++++ gui.c
+@@ -701,7 +701,7 @@ static Int32 GUI_GetNumColorsInMap(CStri
+ ************************************************************************/
+ void GUI_SetColorOfCurrentPlayer(Int32 iColor)
+ {
+- Int32 c, d;
++ Pixel c, d;
+
+ c = COLOR_QueryColor(iColor);
+ XtVaGetValues(wCurrentPlayer, XtNbackground, &d, NULL);