diff options
Diffstat (limited to 'games-fps/lsdldoom/files/1.4.4.4-gcc34.patch')
-rw-r--r-- | games-fps/lsdldoom/files/1.4.4.4-gcc34.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/games-fps/lsdldoom/files/1.4.4.4-gcc34.patch b/games-fps/lsdldoom/files/1.4.4.4-gcc34.patch new file mode 100644 index 000000000000..988905f84931 --- /dev/null +++ b/games-fps/lsdldoom/files/1.4.4.4-gcc34.patch @@ -0,0 +1,42 @@ +diff -ur lsdldoom-1.4.4.4.orig/src/d_main.c lsdldoom-1.4.4.4/src/d_main.c +--- lsdldoom-1.4.4.4.orig/src/d_main.c 2005-01-15 02:38:13.077626072 -0500 ++++ lsdldoom-1.4.4.4/src/d_main.c 2005-01-15 02:39:41.646161608 -0500 +@@ -230,6 +230,7 @@ + case GS_LEVEL: + V_SetPalette(0); // cph - use default (basic) palette + default: ++; + } + + switch (gamestate) { +@@ -243,6 +244,7 @@ + D_PageDrawer(); + break; + default: ++; + } + } else if (gametic) { // In a level + boolean redrawborderstuff; +diff -ur lsdldoom-1.4.4.4.orig/src/g_game.c lsdldoom-1.4.4.4/src/g_game.c +--- lsdldoom-1.4.4.4.orig/src/g_game.c 2005-01-15 02:38:13.043631240 -0500 ++++ lsdldoom-1.4.4.4/src/g_game.c 2005-01-15 02:38:13.260598256 -0500 +@@ -875,6 +875,7 @@ + case GS_INTERMISSION: + WI_End(); + default: ++; + } + prevgamestate = gamestate; + } +diff -ur lsdldoom-1.4.4.4.orig/src/p_maputl.h lsdldoom-1.4.4.4/src/p_maputl.h +--- lsdldoom-1.4.4.4.orig/src/p_maputl.h 2005-01-15 02:38:13.044631088 -0500 ++++ lsdldoom-1.4.4.4/src/p_maputl.h 2005-01-15 02:40:35.526970480 -0500 +@@ -82,7 +82,7 @@ + void P_SetThingPosition(mobj_t *thing); + boolean P_BlockLinesIterator (int x, int y, boolean func(line_t *)); + boolean P_BlockThingsIterator(int x, int y, boolean func(mobj_t *)); +-boolean ThingIsOnLine(const mobj_t *t, const line_t *l); /* killough 3/15/98 */ ++boolean CONSTFUNC ThingIsOnLine(const mobj_t *t, const line_t *l); /* killough 3/15/98 */ + boolean P_PathTraverse(fixed_t x1, fixed_t y1, fixed_t x2, fixed_t y2, + int flags, boolean trav(intercept_t *)); + |