aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-04-30 18:51:26 +0800
committernetchild <netchild@FreeBSD.org>2005-04-30 18:51:26 +0800
commit548e1e84aa9a7e0133b562f1a308627264b8ddce (patch)
treee719a77bf2254b3909f17ffaab3ace9481c6f7f4
parent0321e37ac992fb33d039c6f6a99527ee538d4692 (diff)
downloadfreebsd-ports-gnome-548e1e84aa9a7e0133b562f1a308627264b8ddce.tar.gz
freebsd-ports-gnome-548e1e84aa9a7e0133b562f1a308627264b8ddce.tar.zst
freebsd-ports-gnome-548e1e84aa9a7e0133b562f1a308627264b8ddce.zip
Unbreak on -current where _types.h got a new prerequisite (sys/cdefs.h)
by me. Unfortunately we don't have a __FreeBSD_Version for this, so the change isn't limited to -current, it's for >= 500039. Famous last words: it shouldn't hurt. Requested by: portmgr (kris)
-rw-r--r--lang/gcc295/files/patch-ap3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/gcc295/files/patch-ap b/lang/gcc295/files/patch-ap
index f785198d9b89..7fd8f6a10359 100644
--- a/lang/gcc295/files/patch-ap
+++ b/lang/gcc295/files/patch-ap
@@ -1,6 +1,6 @@
--- gcc/ginclude/stddef.h.orig Wed Dec 16 22:19:25 1998
+++ gcc/ginclude/stddef.h Sun Dec 22 18:18:47 2002
-@@ -25,8 +25,15 @@
+@@ -25,8 +25,16 @@
/* On 4.3bsd-net2, make sure ansi.h is included, so we have
one less case to deal with in the following. */
#if defined (__BSD_NET2__) || defined (____386BSD____) || defined (__FreeBSD__) || defined(__NetBSD__)
@@ -8,6 +8,7 @@
+#define __NO_GNUC_VA_LIST
+#include <osreldate.h>
+#if __FreeBSD_version >= 500039
++#include <sys/cdefs.h>
+#include <machine/_types.h>
+#else
#include <machine/ansi.h>