diff options
author | sommerfe <sommerfe> | 1999-03-15 01:54:32 +0000 |
---|---|---|
committer | sommerfe <sommerfe> | 1999-03-15 01:54:32 +0000 |
commit | 8efc94dea5227c1b9f6b12f0d285a37bbd88295d (patch) | |
tree | eb61f1b11e81ecfe30491314b2dbf43d6a9fd50e /games/xdoom/patches | |
parent | 8a6a48869650584cc308239eaa11a63c8960094e (diff) | |
download | pkgsrc-8efc94dea5227c1b9f6b12f0d285a37bbd88295d.tar.gz |
Fix PR7160: critical bug fix to xdoom
Diffstat (limited to 'games/xdoom/patches')
-rw-r--r-- | games/xdoom/patches/patch-ah | 22 | ||||
-rw-r--r-- | games/xdoom/patches/patch-ai | 39 |
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 + }; + + + |