summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-11-29 23:36:29 +0000
committertron <tron@pkgsrc.org>1998-11-29 23:36:29 +0000
commitc7826f2d0af6e59f5cdccc9464ba4972debe3b0a (patch)
treec00bb432b08cf566a0da7fe1c3e8dc4cd752097f /math
parentdf62f46b25691694bf3efe4991eaef6582b2f00d (diff)
downloadpkgsrc-c7826f2d0af6e59f5cdccc9464ba4972debe3b0a.tar.gz
Patch by Rene Hexel to make this package build with "egcs".
Diffstat (limited to 'math')
-rw-r--r--math/octave/patches/egcs-patch-aa76
1 files changed, 76 insertions, 0 deletions
diff --git a/math/octave/patches/egcs-patch-aa b/math/octave/patches/egcs-patch-aa
new file mode 100644
index 00000000000..aaf565cf5e1
--- /dev/null
+++ b/math/octave/patches/egcs-patch-aa
@@ -0,0 +1,76 @@
+$NetBSD: egcs-patch-aa,v 1.1 1998/11/29 23:36:29 tron Exp $
+
+--- src/xdiv.cc.orig Sat Oct 12 00:57:03 1996
++++ src/xdiv.cc Sat Nov 28 15:15:43 1998
+@@ -112,7 +112,7 @@
+ Matrix
+ xdiv (const Matrix& a, const Matrix& b)
+ {
+- if (! mx_div_conform (a, b))
++ if (! mx_div_conform<const Matrix&, const Matrix&> (a, b))
+ return Matrix ();
+
+ Matrix atmp = a.transpose ();
+@@ -137,7 +137,7 @@
+ ComplexMatrix
+ xdiv (const Matrix& a, const ComplexMatrix& b)
+ {
+- if (! mx_div_conform (a, b))
++ if (! mx_div_conform<const Matrix&, const ComplexMatrix&> (a, b))
+ return ComplexMatrix ();
+
+ Matrix atmp = a.transpose ();
+@@ -162,7 +162,7 @@
+ ComplexMatrix
+ xdiv (const ComplexMatrix& a, const Matrix& b)
+ {
+- if (! mx_div_conform (a, b))
++ if (! mx_div_conform<const ComplexMatrix&, const Matrix&> (a, b))
+ return ComplexMatrix ();
+
+ ComplexMatrix atmp = a.hermitian ();
+@@ -187,7 +187,7 @@
+ ComplexMatrix
+ xdiv (const ComplexMatrix& a, const ComplexMatrix& b)
+ {
+- if (! mx_div_conform (a, b))
++ if (! mx_div_conform<const ComplexMatrix&, const ComplexMatrix&> (a, b))
+ return ComplexMatrix ();
+
+ ComplexMatrix atmp = a.hermitian ();
+@@ -290,7 +290,7 @@
+ Matrix
+ xleftdiv (const Matrix& a, const Matrix& b)
+ {
+- if (! mx_leftdiv_conform (a, b))
++ if (! mx_leftdiv_conform<const Matrix&, const Matrix&> (a, b))
+ return Matrix ();
+
+ int info;
+@@ -310,7 +310,7 @@
+ ComplexMatrix
+ xleftdiv (const Matrix& a, const ComplexMatrix& b)
+ {
+- if (! mx_leftdiv_conform (a, b))
++ if (! mx_leftdiv_conform<const Matrix&, const ComplexMatrix&> (a, b))
+ return ComplexMatrix ();
+
+ int info;
+@@ -330,7 +330,7 @@
+ ComplexMatrix
+ xleftdiv (const ComplexMatrix& a, const Matrix& b)
+ {
+- if (! mx_leftdiv_conform (a, b))
++ if (! mx_leftdiv_conform<const ComplexMatrix&, const Matrix&> (a, b))
+ return ComplexMatrix ();
+
+ int info;
+@@ -350,7 +350,7 @@
+ ComplexMatrix
+ xleftdiv (const ComplexMatrix& a, const ComplexMatrix& b)
+ {
+- if (! mx_leftdiv_conform (a, b))
++ if (! mx_leftdiv_conform<const ComplexMatrix&, const ComplexMatrix&> (a, b))
+ return ComplexMatrix ();
+
+ int info;