pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/xfrisk Fix another LP64 crash. Boo on libXt.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59ed145d4129
branches:  trunk
changeset: 599079:59ed145d4129
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Feb 05 00:02:47 2012 +0000

description:
Fix another LP64 crash. Boo on libXt.

diffstat:

 games/xfrisk/Makefile            |   4 ++--
 games/xfrisk/distinfo            |   3 ++-
 games/xfrisk/patches/patch-gui_c |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 41d9b134563c -r 59ed145d4129 games/xfrisk/Makefile
--- a/games/xfrisk/Makefile     Sat Feb 04 23:42:12 2012 +0000
+++ b/games/xfrisk/Makefile     Sun Feb 05 00:02:47 2012 +0000
@@ -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 -r 41d9b134563c -r 59ed145d4129 games/xfrisk/distinfo
--- a/games/xfrisk/distinfo     Sat Feb 04 23:42:12 2012 +0000
+++ b/games/xfrisk/distinfo     Sun Feb 05 00:02:47 2012 +0000
@@ -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-ac) = ed2194b764c3d78eedabceb9136814cffcb8f25f
 SHA1 (patch-ad) = abd57e121edccbf1f3f78d8f124fbc198722dfcd
 SHA1 (patch-ae) = 173820eabda55fce02fedae4be2d853ba7d5b31f
+SHA1 (patch-gui_c) = 7317a10b1883a5f230c5dd8e3be89d10598d4fb4
diff -r 41d9b134563c -r 59ed145d4129 games/xfrisk/patches/patch-gui_c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/xfrisk/patches/patch-gui_c  Sun Feb 05 00:02:47 2012 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index