pkgsrc/games/xdoom/patches/patch-au
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

16 lines
413 B
Text

$NetBSD: patch-au,v 1.4 2010/02/22 21:58:47 wiz Exp $
--- linuxdoom-1.10/w_wad.c.orig 1997-12-22 21:05:36.000000000 +0000
+++ linuxdoom-1.10/w_wad.c
@@ -31,10 +31,9 @@ rcsid[] = "$Id: w_wad.c,v 1.5 1997/02/03
#include <sys/types.h>
#include <string.h>
#include <unistd.h>
-#include <malloc.h>
#include <fcntl.h>
#include <sys/stat.h>
-#include <alloca.h>
+#include <stdlib.h>
#define O_BINARY 0
#endif