summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorsommerfe <sommerfe@pkgsrc.org>1999-03-15 01:54:32 +0000
committersommerfe <sommerfe@pkgsrc.org>1999-03-15 01:54:32 +0000
commitf2f4690647c3070d0c8cd96f9d3a6fed5846b06f (patch)
treeeb61f1b11e81ecfe30491314b2dbf43d6a9fd50e /games
parent9b92f90875e23feb740995920f8eface0e0a90c0 (diff)
downloadpkgsrc-f2f4690647c3070d0c8cd96f9d3a6fed5846b06f.tar.gz
Fix PR7160: critical bug fix to xdoom
Diffstat (limited to 'games')
-rw-r--r--games/xdoom/patches/patch-ah22
-rw-r--r--games/xdoom/patches/patch-ai39
2 files changed, 61 insertions, 0 deletions
diff --git a/games/xdoom/patches/patch-ah b/games/xdoom/patches/patch-ah
new file mode 100644
index 00000000000..97c9d6c7109
--- /dev/null
+++ b/games/xdoom/patches/patch-ah
@@ -0,0 +1,22 @@
+$NetBSD: patch-ah,v 1.1 1999/03/15 01:54:32 sommerfe Exp $
+
+*** linuxdoom-1.10/info.h.orig Sun Mar 14 17:14:18 1999
+--- linuxdoom-1.10/info.h Sun Mar 14 17:14:46 1999
+***************
+*** 1156,1162 ****
+ } state_t;
+
+ extern state_t states[NUMSTATES];
+! extern char *sprnames[NUMSPRITES];
+
+
+
+--- 1156,1163 ----
+ } state_t;
+
+ extern state_t states[NUMSTATES];
+! /* R_InitSpriteDefs insists on a NULL terminated list, add one for NULL. (jfw) */
+! extern char *sprnames[NUMSPRITES+1];
+
+
+
diff --git a/games/xdoom/patches/patch-ai b/games/xdoom/patches/patch-ai
new file mode 100644
index 00000000000..e15640e7b2e
--- /dev/null
+++ b/games/xdoom/patches/patch-ai
@@ -0,0 +1,39 @@
+$NetBSD: patch-ai,v 1.1 1999/03/15 01:54:32 sommerfe Exp $
+
+*** linuxdoom-1.10/info.c.orig Sun Mar 14 17:11:53 1999
+--- linuxdoom-1.10/info.c Sun Mar 14 17:12:02 1999
+***************
+*** 37,43 ****
+
+ #include "p_mobj.h"
+
+! char *sprnames[NUMSPRITES] = {
+ "TROO","SHTG","PUNG","PISG","PISF","SHTF","SHT2","CHGG","CHGF","MISG",
+ "MISF","SAWG","PLSG","PLSF","BFGG","BFGF","BLUD","PUFF","BAL1","BAL2",
+ "PLSS","PLSE","MISL","BFS1","BFE1","BFE2","TFOG","IFOG","PLAY","POSS",
+--- 37,43 ----
+
+ #include "p_mobj.h"
+
+! char *sprnames[NUMSPRITES+1] = {
+ "TROO","SHTG","PUNG","PISG","PISF","SHTF","SHT2","CHGG","CHGF","MISG",
+ "MISF","SAWG","PLSG","PLSF","BFGG","BFGF","BLUD","PUFF","BAL1","BAL2",
+ "PLSS","PLSE","MISL","BFS1","BFE1","BFE2","TFOG","IFOG","PLAY","POSS",
+***************
+*** 51,57 ****
+ "POL3","POL1","POL6","GOR2","GOR3","GOR4","GOR5","SMIT","COL1","COL2",
+ "COL3","COL4","CAND","CBRA","COL6","TRE1","TRE2","ELEC","CEYE","FSKU",
+ "COL5","TBLU","TGRN","TRED","SMBT","SMGT","SMRT","HDB1","HDB2","HDB3",
+! "HDB4","HDB5","HDB6","POB1","POB2","BRS1","TLMP","TLP2"
+ };
+
+
+--- 51,57 ----
+ "POL3","POL1","POL6","GOR2","GOR3","GOR4","GOR5","SMIT","COL1","COL2",
+ "COL3","COL4","CAND","CBRA","COL6","TRE1","TRE2","ELEC","CEYE","FSKU",
+ "COL5","TBLU","TGRN","TRED","SMBT","SMGT","SMRT","HDB1","HDB2","HDB3",
+! "HDB4","HDB5","HDB6","POB1","POB2","BRS1","TLMP","TLP2", 0
+ };
+
+
+