summaryrefslogtreecommitdiff
path: root/lang/gcc28
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-03-24 11:44:40 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-03-24 11:44:40 +0000
commita49ca2d5bbbf2336c8b4605b828e32afbeea1f70 (patch)
tree5acd5ac88a172f0443867c8f468d85e228aaa0a9 /lang/gcc28
parentDeal with definition of `stdout' in -CURRENT. (diff)
Let machine/ansi.h know not to play glibc for us.
Notes
Notes: svn path=/head/; revision=56531
Diffstat (limited to 'lang/gcc28')
-rw-r--r--lang/gcc28/files/patch-225
-rw-r--r--lang/gcc28/files/patch-238
2 files changed, 11 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
diff --git a/lang/gcc28/files/patch-23 b/lang/gcc28/files/patch-23
new file mode 100644
index 000000000000..c371cb3dcdd5
--- /dev/null
+++ b/lang/gcc28/files/patch-23
@@ -0,0 +1,8 @@
+--- sys-types.h.orig Wed Oct 9 04:26:35 1996
++++ sys-types.h Sun Mar 24 03:35:27 2002
+@@ -83,4 +83,5 @@
+ union wait;
+
++#define __NO_GNUC_VA_LIST /* <machine/ansi.h> defines __gnuc_va_list */
+ /* Get size_t and wchar_t. */
+ #include <stddef.h>