aboutsummaryrefslogtreecommitdiff
path: root/math/lapack++/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/lapack++/files')
-rw-r--r--math/lapack++/files/patch-blaspp:testing:blas++_test (renamed from math/lapack++/files/patch-blas++_test)0
-rw-r--r--math/lapack++/files/patch-include:blas++.h15
-rw-r--r--math/lapack++/files/patch-include:laslv.h (renamed from math/lapack++/files/patch-laslv.h)0
-rw-r--r--math/lapack++/files/patch-makefile.def9
-rw-r--r--math/lapack++/files/patch-matrix:testing:matrix_test (renamed from math/lapack++/files/patch-matrix_test)0
-rw-r--r--math/lapack++/files/patch-src:eigslv.cc (renamed from math/lapack++/files/patch-eigslv.cc)0
-rw-r--r--math/lapack++/files/patch-testing:lapack++_test (renamed from math/lapack++/files/patch-lapack++_test)0
7 files changed, 20 insertions, 4 deletions
diff --git a/math/lapack++/files/patch-blas++_test b/math/lapack++/files/patch-blaspp:testing:blas++_test
index 504663e6e22d..504663e6e22d 100644
--- a/math/lapack++/files/patch-blas++_test
+++ b/math/lapack++/files/patch-blaspp:testing:blas++_test
diff --git a/math/lapack++/files/patch-include:blas++.h b/math/lapack++/files/patch-include:blas++.h
new file mode 100644
index 000000000000..c4fbea53d662
--- /dev/null
+++ b/math/lapack++/files/patch-include:blas++.h
@@ -0,0 +1,15 @@
+--- include/blas++.h~ Tue Nov 19 13:30:26 2002
++++ include/blas++.h Tue Nov 19 13:32:03 2002
+@@ -11,7 +11,11 @@
+ #include "blas2++.h"
+ #include "blas3++.h"
+
+-double abs(double);
++inline double abs(double a)
++{
++ if(a>=0) return a;
++ return -a;
++}
+
+ //-------------------------------------
+ // Vector/Vector operators
diff --git a/math/lapack++/files/patch-laslv.h b/math/lapack++/files/patch-include:laslv.h
index 194dc56f220e..194dc56f220e 100644
--- a/math/lapack++/files/patch-laslv.h
+++ b/math/lapack++/files/patch-include:laslv.h
diff --git a/math/lapack++/files/patch-makefile.def b/math/lapack++/files/patch-makefile.def
index 51224438f39d..c1bc73f1707e 100644
--- a/math/lapack++/files/patch-makefile.def
+++ b/math/lapack++/files/patch-makefile.def
@@ -1,16 +1,17 @@
--- makefile.def.orig Wed Mar 1 02:42:58 2000
-+++ makefile.def Mon May 20 11:18:27 2002
++++ makefile.def Tue Nov 19 13:16:28 2002
@@ -12,11 +12,11 @@
# g++ 2.7.0) Some other choices for ARCH are "SGI" and "RIOS" (RS-6000)
#
-ARCH = Linux
-+ARCH = FreeBSD
- CPP = g++
+-CPP = g++
-CPPFLAGS = -I$(LAPACKPP_INC) -D$(ARCH) -Wall
-CPPLIBS = -lm
-CFLAGS = -I$(LAPACKPP_INC)
-+CPPFLAGS+= $(CFLAGS) -I$(LAPACKPP_INC) -D$(ARCH)
++ARCH = FreeBSD
++CPP = $(CXX)
++CPPFLAGS+= $(CXXFLAGS) -I$(LAPACKPP_INC) -D$(ARCH)
+CPPLIBS+= -lm
+CFLAGS+= -I$(LAPACKPP_INC)
#
diff --git a/math/lapack++/files/patch-matrix_test b/math/lapack++/files/patch-matrix:testing:matrix_test
index 6043c5398b86..6043c5398b86 100644
--- a/math/lapack++/files/patch-matrix_test
+++ b/math/lapack++/files/patch-matrix:testing:matrix_test
diff --git a/math/lapack++/files/patch-eigslv.cc b/math/lapack++/files/patch-src:eigslv.cc
index c087bceb8f4f..c087bceb8f4f 100644
--- a/math/lapack++/files/patch-eigslv.cc
+++ b/math/lapack++/files/patch-src:eigslv.cc
diff --git a/math/lapack++/files/patch-lapack++_test b/math/lapack++/files/patch-testing:lapack++_test
index 9f0d5b4d5438..9f0d5b4d5438 100644
--- a/math/lapack++/files/patch-lapack++_test
+++ b/math/lapack++/files/patch-testing:lapack++_test