From: Brian Alliet Date: Sat, 16 Dec 2006 03:51:00 +0000 (-0800) Subject: fix fortran breakage in gcc 3.3.6 X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=commitdiff_plain;h=efc21de4ebd704b3bc80ddad4d4f604eee305dd9 fix fortran breakage in gcc 3.3.6 darcs-hash:20061216035100-931ed-6bfd4f93f8fe28497ec480582672ed091d4f1ca6.gz --- diff --git a/upstream/Makefile b/upstream/Makefile index e7b331f..c029a0c 100644 --- a/upstream/Makefile +++ b/upstream/Makefile @@ -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 index 0000000..cdee3ab --- /dev/null +++ b/upstream/patches/gcc-3.3.6-fortran.patch @@ -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);