summaryrefslogtreecommitdiff
path: root/games/xdoom
diff options
context:
space:
mode:
authormycroft <mycroft>2003-09-29 23:46:31 +0000
committermycroft <mycroft>2003-09-29 23:46:31 +0000
commit0fb2ca37ed7d41b39121120e853bf2bcfaf53713 (patch)
tree7e94613218e33b2b513d6d0da7eac104b0e8b916 /games/xdoom
parent907733e923623678abd3c0e7fef43dd6dc939f74 (diff)
downloadpkgsrc-0fb2ca37ed7d41b39121120e853bf2bcfaf53713.tar.gz
Trivial fix for GCC3.
Diffstat (limited to 'games/xdoom')
-rw-r--r--games/xdoom/distinfo3
-rw-r--r--games/xdoom/patches/patch-bc30
2 files changed, 32 insertions, 1 deletions
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);
+ }