summaryrefslogtreecommitdiff
path: root/cad/felt/patches
diff options
context:
space:
mode:
authorminskim <minskim>2005-04-30 17:26:43 +0000
committerminskim <minskim>2005-04-30 17:26:43 +0000
commitd6596ae530b7e7dcc77f33c2fba850f69ecc102a (patch)
treeb7e605e8ff2c16cf0eda99b3d79a10ead6cea748 /cad/felt/patches
parentb80540b77140ed58c295648de8b49cbe05b9e01a (diff)
downloadpkgsrc-d6596ae530b7e7dcc77f33c2fba850f69ecc102a.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))