diff options
Diffstat (limited to 'sci-libs/netcdf/files/netcdf-4.1.1-fortran.patch')
-rw-r--r-- | sci-libs/netcdf/files/netcdf-4.1.1-fortran.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-libs/netcdf/files/netcdf-4.1.1-fortran.patch b/sci-libs/netcdf/files/netcdf-4.1.1-fortran.patch new file mode 100644 index 000000000000..825fd3b893a1 --- /dev/null +++ b/sci-libs/netcdf/files/netcdf-4.1.1-fortran.patch @@ -0,0 +1,15 @@ +Default to gfortran if cannot figure out F77 compiler + +https://bugs.gentoo.org/show_bug.cgi?id=348922 + +--- netcdf-4.1.1/configure.ac ++++ netcdf-4.1.1/configure.ac +@@ -973,7 +973,7 @@ + *) + # If it's a gnu compiler, guess f2c. + if test "x$ac_cv_fc_compiler_gnu" = xyes; then +- AC_DEFINE(f2cFortran, [1], [Turned on by netCDF configure.]) ++ AC_DEFINE(gFortran, [1], [Turned on by netCDF configure.]) + fi + ;; + esac |