summaryrefslogtreecommitdiff
path: root/cad/felt/patches
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/patches
parentab52e6b750ce9d5f2a2c39e1507cac5d880d2ae2 (diff)
downloadpkgsrc-e4a405433beb3f5395f4d4f1accfa3fe21e38a58.tar.gz
Include stdlib.h instead of malloc.h to build on Darwin.
Diffstat (limited to 'cad/felt/patches')
-rw-r--r--cad/felt/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
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))