fix fortran breakage in gcc 3.3.6
authorBrian Alliet <brian@brianweb.net>
Sat, 16 Dec 2006 03:51:00 +0000 (19:51 -0800)
committerBrian Alliet <brian@brianweb.net>
Sat, 16 Dec 2006 03:51:00 +0000 (19:51 -0800)
darcs-hash:20061216035100-931ed-6bfd4f93f8fe28497ec480582672ed091d4f1ca6.gz

upstream/Makefile
upstream/patches/gcc-3.3.6-fortran.patch [new file with mode: 0644]

index e7b331f..c029a0c 100644 (file)
@@ -6,7 +6,7 @@ url_gcc-core = http://mirrors.kernel.org/gnu/gcc/gcc-$(version_gcc)/gcc-core-$(v
 url_gcc-c++ = http://mirrors.kernel.org/gnu/gcc/gcc-$(version_gcc)/gcc-g++-$(version_gcc).tar.gz
 url_gcc-g77 = http://mirrors.kernel.org/gnu/gcc/gcc-$(version_gcc)/gcc-g77-$(version_gcc).tar.gz
 
-patches_gcc = gcc-fixes.patch gcc-fdata-sections-bss.patch gcc-64bitclean.patch
+patches_gcc = gcc-fixes.patch gcc-fdata-sections-bss.patch gcc-64bitclean.patch gcc-3.3.6-fortran.patch
 
 configure_gcc = --target=mips-unknown-elf --disable-threads --with-gnu-ld --with-gnu-as --with-newlib=yes --enable-sjlj-exceptions --enable-languages="c"
 configure_gcc_step2 = $(configure_gcc) --enable-languages="c,c++,f77"
diff --git a/upstream/patches/gcc-3.3.6-fortran.patch b/upstream/patches/gcc-3.3.6-fortran.patch
new file mode 100644 (file)
index 0000000..cdee3ab
--- /dev/null
@@ -0,0 +1,11 @@
+--- gcc/f/com.h~       2006-12-15 22:48:12.000000000 -0500
++++ gcc/f/com.h        2006-12-15 22:48:12.000000000 -0500
+@@ -233,7 +233,7 @@
+ void ffecom_finish_progunit (void);
+ tree ffecom_get_invented_identifier (const char *pattern, ...)
+   ATTRIBUTE_PRINTF_1;
+-ffeinfoKindtype ffecom_gfrt_basictype (ffecomGfrt ix);
++ffeinfoBasictype ffecom_gfrt_basictype (ffecomGfrt ix);
+ ffeinfoKindtype ffecom_gfrt_kindtype (ffecomGfrt ix);
+ void ffecom_init_0 (void);
+ void ffecom_init_2 (void);