pkgsrc/games/xdoom/patches/patch-aq
wiz 5ea5107654 Re-add xdoom, requested by drochner.
Address PR 24024 by marking it as not-for-lp64platforms.
2010-02-22 21:58:47 +00:00

13 lines
433 B
Text

$NetBSD: patch-aq,v 1.3 2010/02/22 21:58:47 wiz 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++)
{