From 0fb2ca37ed7d41b39121120e853bf2bcfaf53713 Mon Sep 17 00:00:00 2001 From: mycroft Date: Mon, 29 Sep 2003 23:46:31 +0000 Subject: Trivial fix for GCC3. --- games/xdoom/distinfo | 3 ++- games/xdoom/patches/patch-bc | 30 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 games/xdoom/patches/patch-bc (limited to 'games/xdoom') diff --git a/games/xdoom/distinfo b/games/xdoom/distinfo index c5854fc26c6..9022a295c5c 100644 --- a/games/xdoom/distinfo +++ b/games/xdoom/distinfo @@ -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-ay) = 8c6cebc66117e9a4493e3c83ce29a16d60374179 SHA1 (patch-az) = 48690eebd65de95b7ce4fd73390b46ffd6a58085 SHA1 (patch-ba) = d8e41ed9d277145cd776ca5dc18e1c82cbefc8b7 SHA1 (patch-bb) = 28dbedb6209466f5b9ad226e2a5583c3881acae1 +SHA1 (patch-bc) = e55e08d525469b44f96fbd45aeed0bedee0a9d8c diff --git a/games/xdoom/patches/patch-bc b/games/xdoom/patches/patch-bc new file mode 100644 index 00000000000..0e97649389e --- /dev/null +++ b/games/xdoom/patches/patch-bc @@ -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); + } -- cgit v1.2.3