pkgsrc/games/xdoom/patches/patch-aq
abs fa022bb0af Update to 1.10nb1
Actually work with the supplied WAD file
        One file-to-patch per patchfile
        Remove strange 'post-patch' substitute X11_BASE phase
        Fix numerous coredumps
        Add a '-h' usage
        Handle the sndserver dying
        Make it work on little endian systems
        Add a '-volume X' flag, and skip all sound code if 0
        Other cleanup in some of the more repellant code areas.
2000-02-03 16:01:14 +00:00

13 lines
433 B
Text

$NetBSD: patch-aq,v 1.1 2000/02/03 16:01:15 abs Exp $
--- linuxdoom-1.10/p_setup.c.orig Mon Dec 22 20:52:39 1997
+++ linuxdoom-1.10/p_setup.c Thu Feb 3 01:33:56 2000
@@ -533,7 +533,7 @@
}
// build line tables for each sector
- linebuffer = Z_Malloc (total*4, PU_LEVEL, 0);
+ linebuffer = Z_Malloc (total*sizeof(line_t*), PU_LEVEL, 0);
sector = sectors;
for (i=0 ; i<numsectors ; i++, sector++)
{