aboutsummaryrefslogtreecommitdiff
path: root/academic/arpack-ng/patches
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2016-11-18 22:20:33 -0600
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-04 19:28:56 +0000
commit2cd63223ba444e05965f3ff676687db268d92e13 (patch)
treebd146a9e16e35b89c51434016cbce91ccd5483ee /academic/arpack-ng/patches
parente43491d02aa85d5d32902512855465f8c54c0821 (diff)
academic/arpack-ng: Updated for version 3.4.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'academic/arpack-ng/patches')
-rw-r--r--academic/arpack-ng/patches/atlas-lib-rename.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/academic/arpack-ng/patches/atlas-lib-rename.diff b/academic/arpack-ng/patches/atlas-lib-rename.diff
new file mode 100644
index 000000000000..4801036f4673
--- /dev/null
+++ b/academic/arpack-ng/patches/atlas-lib-rename.diff
@@ -0,0 +1,21 @@
+diff --git a/m4/ax_blas.m4 b/m4/ax_blas.m4
+--- a/m4/ax_blas.m4
++++ b/m4/ax_blas.m4
+@@ -116,13 +116,10 @@
+
+ # BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
+ if test $ax_blas_ok = no; then
+- AC_CHECK_LIB(atlas, ATL_xerbla,
+- [AC_CHECK_LIB(f77blas, $sgemm,
+- [AC_CHECK_LIB(cblas, cblas_dgemm,
+- [ax_blas_ok=yes
+- BLAS_LIBS="-lcblas -lf77blas -latlas"],
+- [], [-lf77blas -latlas])],
+- [], [-latlas])])
++ AC_CHECK_LIB(tatlas, $sgemm,
++ [ax_blas_ok=yes; BLAS_LIBS="-ltatlas"],
++ [AC_CHECK_LIB(satlas, $sgemm,
++ [ax_blas_ok=yes; BLAS_LIBS="-lsatlas"])])
+ fi
+
+ # BLAS in PhiPACK libraries? (requires generic BLAS lib, too)