03cedf79c2
Packaged by Marko Schütz, improved by Kai-Uwe Eckhardt. This is the gcc 4.5 compiler suite. This package has a test target. For testing (only), this package requires devel/dejagnu and devel/autogen.
16 lines
668 B
Text
16 lines
668 B
Text
$NetBSD: patch-ak,v 1.1.1.1 2011/05/14 20:19:47 wiz Exp $
|
|
|
|
--- gcc/ginclude/stddef.h.orig 2011-03-03 15:35:00.000000000 +0000
|
|
+++ gcc/ginclude/stddef.h
|
|
@@ -53,6 +53,11 @@ see the files COPYING3 and COPYING.RUNTI
|
|
one less case to deal with in the following. */
|
|
#if defined (__BSD_NET2__) || defined (____386BSD____) || (defined (__FreeBSD__) && (__FreeBSD__ < 5)) || defined(__NetBSD__)
|
|
#include <machine/ansi.h>
|
|
+#if !defined(_MACHINE_ANSI_H_)
|
|
+#if defined(_I386_ANSI_H_) || defined(_X86_64_ANSI_H_)
|
|
+#define _MACHINE_ANSI_H_
|
|
+#endif
|
|
+#endif
|
|
#endif
|
|
/* On FreeBSD 5, machine/ansi.h does not exist anymore... */
|
|
#if defined (__FreeBSD__) && (__FreeBSD__ >= 5)
|