aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc28/files/patch-22
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-24 19:44:40 +0800
committerobrien <obrien@FreeBSD.org>2002-03-24 19:44:40 +0800
commitcf798e750a0b7c82dda02f440a375967426bfe84 (patch)
treeecbb94e01960daaef9fae5a2c3840ce7f0118b9e /lang/gcc28/files/patch-22
parenta5e832cf20ab60c4818cccc06c47ac825df9adbb (diff)
downloadfreebsd-ports-gnome-cf798e750a0b7c82dda02f440a375967426bfe84.tar.gz
freebsd-ports-gnome-cf798e750a0b7c82dda02f440a375967426bfe84.tar.zst
freebsd-ports-gnome-cf798e750a0b7c82dda02f440a375967426bfe84.zip
Let machine/ansi.h know not to play glibc for us.
Diffstat (limited to 'lang/gcc28/files/patch-22')
-rw-r--r--lang/gcc28/files/patch-225
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/gcc28/files/patch-22 b/lang/gcc28/files/patch-22
index d7c6c1d4f3d2..0c54061212f2 100644
--- a/lang/gcc28/files/patch-22
+++ b/lang/gcc28/files/patch-22
@@ -1,11 +1,12 @@
--- ginclude/stddef.h.orig Mon Oct 28 04:35:28 1996
-+++ ginclude/stddef.h Tue Aug 11 13:26:05 1998
-@@ -24,7 +24,7 @@
++++ ginclude/stddef.h Sun Mar 24 03:26:25 2002
+@@ -24,7 +24,8 @@
/* 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__)
+#if defined (__BSD_NET2__) || defined (____386BSD____) || defined (__FreeBSD__) || defined(__NetBSD__) || defined (__OpenBSD__)
++#define __NO_GNUC_VA_LIST
#include <machine/ansi.h>
#endif