summaryrefslogtreecommitdiff
path: root/games/xdoom/patches/patch-aq
diff options
context:
space:
mode:
Diffstat (limited to 'games/xdoom/patches/patch-aq')
-rw-r--r--games/xdoom/patches/patch-aq13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/xdoom/patches/patch-aq b/games/xdoom/patches/patch-aq
new file mode 100644
index 00000000000..b5fae9cd28a
--- /dev/null
+++ b/games/xdoom/patches/patch-aq
@@ -0,0 +1,13 @@
+$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++)
+ {