pkgsrc/games/xdoom/patches/patch-aw

19 lines
442 B
Text
Raw Normal View History

$NetBSD: patch-aw,v 1.1 2000/02/03 16:01:16 abs Exp $
--- linuxdoom-1.10/z_zone.c.orig Mon Dec 22 21:07:09 1997
+++ linuxdoom-1.10/z_zone.c Thu Feb 3 01:34:04 2000
@@ -192,8 +192,12 @@
memblock_t* newblock;
memblock_t* base;
+#ifdef __alpha
+ size = (size + 7) & ~7;
+#else
size = (size + 3) & ~3;
-
+#endif
+
// scan through the block list,
// looking for the first free block
// of sufficient size,