summaryrefslogtreecommitdiff
path: root/games/d2x/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'games/d2x/patches/patch-ac')
-rw-r--r--games/d2x/patches/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/d2x/patches/patch-ac b/games/d2x/patches/patch-ac
new file mode 100644
index 00000000000..1f214e38ee8
--- /dev/null
+++ b/games/d2x/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2007/08/08 17:55:59 joerg Exp $
+
+--- mem/mem.c.orig 2007-08-08 17:34:10.000000000 +0000
++++ mem/mem.c
+@@ -34,11 +34,6 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CO
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#if defined(__APPLE__) && defined(__MACH__)
+-#include <sys/malloc.h>
+-#else
+-#include <malloc.h>
+-#endif
+ #include "pstypes.h"
+ #include "mono.h"
+ #include "error.h"