aboutsummaryrefslogtreecommitdiffstats
path: root/math/gri
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-10-25 16:19:13 +0800
committerkris <kris@FreeBSD.org>2002-10-25 16:19:13 +0800
commit5942964ca2feeb73144c5ee5cabda73818f7491e (patch)
tree3332613adb3767d0e8e1506323ff8fd529e1376a /math/gri
parent5ed996354d84a5b9aaef74f8341a4efd36b6167d (diff)
downloadfreebsd-ports-gnome-5942964ca2feeb73144c5ee5cabda73818f7491e.tar.gz
freebsd-ports-gnome-5942964ca2feeb73144c5ee5cabda73818f7491e.tar.zst
freebsd-ports-gnome-5942964ca2feeb73144c5ee5cabda73818f7491e.zip
Partially fix build on -current (remove #include <malloc.h>). This still
blows up later on.
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