summaryrefslogtreecommitdiff
path: root/lang/smalltalk/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2007-06-23 08:26:44 +0000
committerminskim <minskim@pkgsrc.org>2007-06-23 08:26:44 +0000
commit1f59c2f2f842945bc9b03f5039367c2878a5f05d (patch)
treef73cda0b8c00ee0b8e1255463fb48485a284ecd9 /lang/smalltalk/patches
parent7afa15017c5e751c08a81b729a897fb52269d3b0 (diff)
downloadpkgsrc-1f59c2f2f842945bc9b03f5039367c2878a5f05d.tar.gz
Use stdlib.h instead of malloc.h, which is nonstandard.
Diffstat (limited to 'lang/smalltalk/patches')
-rw-r--r--lang/smalltalk/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/smalltalk/patches/patch-ad b/lang/smalltalk/patches/patch-ad
new file mode 100644
index 00000000000..e188dc06864
--- /dev/null
+++ b/lang/smalltalk/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2007/06/23 08:26:44 minskim Exp $
+
+--- examples/gdbm.c.orig 2003-05-27 10:41:20.000000000 -0700
++++ examples/gdbm.c
+@@ -34,7 +34,7 @@
+ #include "gstpub.h"
+ #include <gdbm.h>
+
+-#include <malloc.h>
++#include <stdlib.h>
+
+ /*
+ GDBM_FILE gdbm_open(name, block_size, flags, mode, fatal_func);