pkgsrc/lang/gcc/patches/patch-bu
jmc 2ce70215a8 Update patch set against a sync of source from gnusrc/dist/toolchain.
Not very many overall changes. Main ones include

1. Support for powerpc, arm32 and vax
2. Makefile.gcc can now be included by anything which depends on gcc versions.
   If the version installed isn't 2.95.3 it'll add itself as a BUILD_DEPENDS.
   (XXX: any of the makefile's in pkgsrc should be checked and change to use
    this)

3. Remove special PLIST.NetBSD-sparc as it's no longer needed
4. Change post-extract loop to pick up any arch files from FILESDIR without
   having to hardcode all the archs
5. Remove arch restrictions as this should work on any arch supported by the
   main source tree as of 03/28/02
6. Add PKGREVISION as this clearly isn't stock 2.95.3 (it doesn't change
   gcc --version so version checks won't care).
2002-03-28 10:11:50 +00:00

16 lines
430 B
Text

$NetBSD: patch-bu,v 1.2 2002/03/28 10:11:54 jmc Exp $
--- ../gcc-2.95.3/gcc/cppspec.c.orig 2000/07/26 00:17:25 1.1.1.1
+++ ../gcc-2.95.3/gcc/cppspec.c 2001/08/14 13:46:14 1.2
@@ -85,7 +85,11 @@
int need_E = 1;
/* Do we need to insert -no-gcc? */
+#if 0
int need_no_gcc = 1;
+#endif
+ /* XXX - For NetBSD backwards compatibility */
+ int need_no_gcc = 0;
/* Have we seen an input file? */
int seen_input = 0;