summaryrefslogtreecommitdiff
path: root/math/lapack++/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/lapack++/files')
-rw-r--r--math/lapack++/files/patch-configure11
-rw-r--r--math/lapack++/files/patch-src-genmd.cc10
2 files changed, 21 insertions, 0 deletions
diff --git a/math/lapack++/files/patch-configure b/math/lapack++/files/patch-configure
new file mode 100644
index 000000000000..9055b19b0c1d
--- /dev/null
+++ b/math/lapack++/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig
++++ configure
+@@ -26093,7 +26093,7 @@
+ *)
+ ARCH="OS_${target_os}"
+ # Workaround for bogus system names
+- ARCH=` echo ${ARCH} | ${SED} 's/^a-z0-9_//g' `
++ ARCH=` echo ${ARCH} | ${SED} 's/[^A-Za-z0-9_]//g' `
+ ;;
+ esac
+ { echo "$as_me:$LINENO: result: $ARCH" >&5
diff --git a/math/lapack++/files/patch-src-genmd.cc b/math/lapack++/files/patch-src-genmd.cc
new file mode 100644
index 000000000000..bba2c18e1117
--- /dev/null
+++ b/math/lapack++/files/patch-src-genmd.cc
@@ -0,0 +1,10 @@
+--- src/genmd.cc.orig
++++ src/genmd.cc
+@@ -65,7 +65,6 @@
+ }
+
+ #if !(defined(OS_WIN32) || LAPACK_OS_WIN32)
+-extern "C" double drand48(void) throw ();
+ #endif
+
+ LaGenMatDouble& LaRandUniform(LaGenMatDouble &A,