summaryrefslogtreecommitdiff
path: root/cad/felt
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-04-30 17:26:43 +0000
committerminskim <minskim@pkgsrc.org>2005-04-30 17:26:43 +0000
commite4a405433beb3f5395f4d4f1accfa3fe21e38a58 (patch)
treeb7e605e8ff2c16cf0eda99b3d79a10ead6cea748 /cad/felt
parentab52e6b750ce9d5f2a2c39e1507cac5d880d2ae2 (diff)
downloadpkgsrc-e4a405433beb3f5395f4d4f1accfa3fe21e38a58.tar.gz
Include stdlib.h instead of malloc.h to build on Darwin.
Diffstat (limited to 'cad/felt')
-rw-r--r--cad/felt/distinfo3
-rw-r--r--cad/felt/patches/patch-ad13
2 files changed, 15 insertions, 1 deletions
diff --git a/cad/felt/distinfo b/cad/felt/distinfo
index 9c4d46f2d9c..f5e07682ffa 100644
--- a/cad/felt/distinfo
+++ b/cad/felt/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2005/02/23 14:59:24 agc Exp $
+$NetBSD: distinfo,v 1.11 2005/04/30 17:26:43 minskim Exp $
SHA1 (felt-3.05.src.tar.gz) = da3e1ced626cc1c65a570d3e6e242252c039c28b
RMD160 (felt-3.05.src.tar.gz) = 0d2a363a6ef09f3b3a0e2be186c4c051ac1ea19a
@@ -9,3 +9,4 @@ Size (felt-3.05.ps.gz) = 626985 bytes
SHA1 (patch-aa) = fbf4c14dec40fc1e5aa5009625c6465bc8d763ab
SHA1 (patch-ab) = 60feea9b0b0af2b71b2a8780227eccbd223b12c5
SHA1 (patch-ac) = 4bbdbf6c4fd597cbdaa355c5da9d6a46d649b66e
+SHA1 (patch-ad) = b39e8556168d434dc156915e5f33b1eaf5745144
diff --git a/cad/felt/patches/patch-ad b/cad/felt/patches/patch-ad
new file mode 100644
index 00000000000..da54112285c
--- /dev/null
+++ b/cad/felt/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2005/04/30 17:26:43 minskim Exp $
+
+--- include/allocate.h.orig Mon Feb 21 16:44:25 2000
++++ include/allocate.h
+@@ -25,7 +25,7 @@
+
+ # ifndef _ALLOCATE_H
+ # define _ALLOCATE_H
+-# include "malloc.h"
++# include <stdlib.h>
+
+ # define AllocNew(type) \
+ (type *) malloc (sizeof (type))