pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/xdoom Trivial fix for GCC3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e96a55223a66
branches:  trunk
changeset: 462283:e96a55223a66
user:      mycroft <mycroft%pkgsrc.org@localhost>
date:      Mon Sep 29 23:46:31 2003 +0000

description:
Trivial fix for GCC3.

diffstat:

 games/xdoom/distinfo         |   3 ++-
 games/xdoom/patches/patch-bc |  30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r 2c0d472598a3 -r e96a55223a66 games/xdoom/distinfo
--- a/games/xdoom/distinfo      Mon Sep 29 23:31:49 2003 +0000
+++ b/games/xdoom/distinfo      Mon Sep 29 23:46:31 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2002/08/22 05:29:50 mycroft Exp $
+$NetBSD: distinfo,v 1.9 2003/09/29 23:46:31 mycroft Exp $
 
 SHA1 (doomsrc.zip) = ffd07e0bd95b7c6ba0cd003fb6ff5ebd535d6f99
 Size (doomsrc.zip) = 362698 bytes
@@ -32,3 +32,4 @@
 SHA1 (patch-az) = 48690eebd65de95b7ce4fd73390b46ffd6a58085
 SHA1 (patch-ba) = d8e41ed9d277145cd776ca5dc18e1c82cbefc8b7
 SHA1 (patch-bb) = 28dbedb6209466f5b9ad226e2a5583c3881acae1
+SHA1 (patch-bc) = e55e08d525469b44f96fbd45aeed0bedee0a9d8c
diff -r 2c0d472598a3 -r e96a55223a66 games/xdoom/patches/patch-bc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/xdoom/patches/patch-bc      Mon Sep 29 23:46:31 2003 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-bc,v 1.1 2003/09/29 23:46:31 mycroft Exp $
+
+--- linuxdoom-1.10/d_main.c.orig       2003-09-29 22:25:20.000000000 +0000
++++ linuxdoom-1.10/d_main.c    2003-09-29 23:43:29.000000000 +0000
+@@ -150,7 +150,7 @@
+ void D_PostEvent (event_t* ev)
+ {
+     events[eventhead] = *ev;
+-    eventhead = (++eventhead)&(MAXEVENTS-1);
++    eventhead = (1+eventhead)&(MAXEVENTS-1);
+ }
+ 
+ 
+@@ -822,14 +822,14 @@
+   -skill N    Set starting skill level to N.\n\
+ \n\
+ Others are:\n\
+-
++\n\
+ -altdeath   -debugfile        -file       -nodraw     -respawn    -warp \n\
+ -avg      -devparm    -geom       -nomonsters -shdev      -wart \n\
+ -cdrom            -disp       -loadgame   -playdemo   -statcopy \n\
+ -comdev           -dup        -maxdemo    -port       -timedemo \n\
+           -extratic   -net        -record     -timer \n\
+ -deathmatch -fast     -noblit     -regdev     -turbo \n\
+-
++\n\
+ ");
+     exit(0);
+     }



Home | Main Index | Thread Index | Old Index