diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-03-21 19:32:31 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-03-21 19:32:31 +0000 |
commit | 4ff45a193bd8d3c026f808faf79fb5e8bd3d33df (patch) | |
tree | 6164b67caa3c5d4f92487c22913723b409978ee1 /sci-libs/lapack-atlas/files | |
parent | (#121855) Allow compilation with gcc-4. Also at least partially fix compilati... (diff) | |
download | historical-4ff45a193bd8d3c026f808faf79fb5e8bd3d33df.tar.gz historical-4ff45a193bd8d3c026f808faf79fb5e8bd3d33df.tar.bz2 historical-4ff45a193bd8d3c026f808faf79fb5e8bd3d33df.zip |
(#121855) Allow compilation with gcc-4. Also at least partially fix compilation with non-gcc compilers (e.g. ifc). You will now need to pass FC to use a non-default Fortran compiler.
Package-Manager: portage-2.1_pre6-r3
Diffstat (limited to 'sci-libs/lapack-atlas/files')
-rw-r--r-- | sci-libs/lapack-atlas/files/3.7.11-allow-any-gcc-version.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-libs/lapack-atlas/files/3.7.11-allow-any-gcc-version.patch b/sci-libs/lapack-atlas/files/3.7.11-allow-any-gcc-version.patch new file mode 100644 index 000000000000..6dfd33ab74af --- /dev/null +++ b/sci-libs/lapack-atlas/files/3.7.11-allow-any-gcc-version.patch @@ -0,0 +1,15 @@ +diff -urN ATLAS.orig/config.c ATLAS/config.c +--- ATLAS.orig/config.c 2006-01-16 19:08:16.000000000 -0800 ++++ ATLAS/config.c 2006-01-16 19:27:22.000000000 -0800 +@@ -712,11 +712,6 @@ + gcc, major, minor, patch); + if (major == -1) + iret = 0; +- else if ( MachIsX86(mach) ) /* don't use gcc 2.96 - 3.0 */ +- { +- if ((major == 2 && minor < 96) || (major == 3 && minor > 1)) +- iret = 1; +- } + else if (mach == IA64Itan || mach == IA64Itan2 || MachIsUS(mach) || + mach == Dec21164 || mach == Dec21264) + { |