summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-08 17:55:59 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-08 17:55:59 +0000
commitfb75a513b2d9be4717f65d57a1340e4d2a39afa6 (patch)
tree563d2e6f9a81c20163003fe444de3ad5fb98d527 /games
parent1b2e325196ac72b0165f6ae77b0428a6e67a3aef (diff)
downloadpkgsrc-fb75a513b2d9be4717f65d57a1340e4d2a39afa6.tar.gz
Don't use malloc.h.
Diffstat (limited to 'games')
-rw-r--r--games/d2x/distinfo3
-rw-r--r--games/d2x/patches/patch-ac16
2 files changed, 18 insertions, 1 deletions
diff --git a/games/d2x/distinfo b/games/d2x/distinfo
index 4a1d1938d47..a41d44da323 100644
--- a/games/d2x/distinfo
+++ b/games/d2x/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/12/29 18:58:23 joerg Exp $
+$NetBSD: distinfo,v 1.4 2007/08/08 17:55:59 joerg Exp $
SHA1 (d2x-0.2.5.tar.gz) = b68c74fdc1f31a5ae32f6b27d7d3658e7e0dbdca
RMD160 (d2x-0.2.5.tar.gz) = c27f16f52eaa7a3742cd7b50307bd747ab79c96f
Size (d2x-0.2.5.tar.gz) = 2015249 bytes
SHA1 (patch-aa) = c7b5790409851bea1637d0f2fc1a8d86924c4528
SHA1 (patch-ab) = b59b2de4d60d98bec20117f085be06016ee03047
+SHA1 (patch-ac) = 93d3f8afb1d865c5c4ba4218f19d5e5b67df3eed
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"