summaryrefslogtreecommitdiff
path: root/math/gri
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-25 08:19:13 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-25 08:19:13 +0000
commit3e0b227d06885d66f2531b3f41a1c5827306ec01 (patch)
tree4ab3f1d8cd7fae9bcaf6f31fb2d13c845fd48fe4 /math/gri
parentThe distfile has disappeared from the master site; switch to (diff)
Partially fix build on -current (remove #include <malloc.h>). This still
blows up later on.
Notes
Notes: svn path=/head/; revision=68787
Diffstat (limited to 'math/gri')
-rw-r--r--math/gri/files/patch-ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/gri/files/patch-ac b/math/gri/files/patch-ac
new file mode 100644
index 000000000000..9856cbb5f985
--- /dev/null
+++ b/math/gri/files/patch-ac
@@ -0,0 +1,11 @@
+--- gr.hh.orig Fri Oct 25 01:19:27 2002
++++ gr.hh Fri Oct 25 01:20:38 2002
+@@ -28,7 +28,7 @@
+ #if STDC_HEADERS
+ #include <stdlib.h>
+ #else
+-#ifndef MSDOS
++#if !defined(MSDOS) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif // not MSDOS
+ #endif // Doesn't have stdlib