summaryrefslogtreecommitdiff
path: root/math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py')
-rw-r--r--math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py b/math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py
index 9df2af8562a5..db87e27b91ac 100644
--- a/math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py
+++ b/math/py-numpy/files/patch-numpy-distutils-fcompiler-gnu.py
@@ -1,5 +1,14 @@
---- numpy/distutils/fcompiler/gnu.py~ Mon Oct 9 16:46:59 2006
-+++ numpy/distutils/fcompiler/gnu.py Wed Jan 17 12:26:12 2007
+--- numpy/distutils/fcompiler/gnu.py.orig Mon Oct 9 03:46:59 2006
++++ numpy/distutils/fcompiler/gnu.py Thu Jan 25 21:48:15 2007
+@@ -22,7 +22,7 @@
+ # GNU Fortran 0.5.25 20010319 (prerelease)
+ # Redhat: GNU Fortran (GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
+
+- for fc_exe in map(find_executable,['g77','f77']):
++ for fc_exe in map(find_executable,['gfortran', 'gfortran41', 'gfortran42', 'g77','f77']):
+ if os.path.isfile(fc_exe):
+ break
+ executables = {
@@ -247,7 +247,7 @@
# OS X: GNU Fortran 95 (GCC) 4.1.0
# GNU Fortran 95 (GCC) 4.2.0 20060218 (experimental)