aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-05 17:03:24 +0800
committerkris <kris@FreeBSD.org>2002-09-05 17:03:24 +0800
commit781b7938415e0c68392d2dd487a7acea45743699 (patch)
tree66fb0591aa542c45d5fa81e0a033d8906a9c672f
parent0416c85363de54a747412943c4ad2b5ef5741856 (diff)
downloadfreebsd-ports-gnome-781b7938415e0c68392d2dd487a7acea45743699.tar.gz
freebsd-ports-gnome-781b7938415e0c68392d2dd487a7acea45743699.tar.zst
freebsd-ports-gnome-781b7938415e0c68392d2dd487a7acea45743699.zip
Fix build on -current (don't try and prototype functions from <stdlib.h>)
-rw-r--r--devel/mkcmd/files/patch-aa15
1 files changed, 12 insertions, 3 deletions
diff --git a/devel/mkcmd/files/patch-aa b/devel/mkcmd/files/patch-aa
index 6928844e98fe..3dd6aeaae1b7 100644
--- a/devel/mkcmd/files/patch-aa
+++ b/devel/mkcmd/files/patch-aa
@@ -1,11 +1,20 @@
---- bin/mkcmd/machine.h.orig Thu Dec 30 15:41:29 1999
-+++ bin/mkcmd/machine.h Thu Dec 30 15:41:38 1999
+--- bin/mkcmd/machine.h.orig Sun Jul 30 14:56:23 2000
++++ bin/mkcmd/machine.h Thu Sep 5 00:58:57 2002
@@ -13,7 +13,7 @@
#endif
#if !defined(DEFDIR)
-#define DEFDIR "/usr/local/lib/mkcmd:/usr/local/lib/mkcmd/type"
-+#define DEFDIR "%%PREFIX%%/share/mkcmd:%%PREFIX%%/share/mkcmd/type"
++#define DEFDIR "/usr/local/share/mkcmd:/usr/local/share/mkcmd/type"
#endif
#if !defined(TILDEDIR)
+@@ -105,7 +105,7 @@
+ #endif
+
+ #if !defined(NEED_MALLOC_EXTERN)
+-#define NEED_MALLOC_EXTERN (!USE_MALLOC_H && !defined(NEXT2) && !defined(IRIX) && !defined(BSDI))
++#define NEED_MALLOC_EXTERN (!USE_MALLOC_H && !defined(NEXT2) && !defined(IRIX) && !defined(BSDI) && !defined(FREEBSD))
+ #endif
+
+ #if !defined(NEED_OFFSET_TYPE)