From a87c930d6d94d724f6b15c3899f218d76a352bec Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 29 Nov 1998 23:36:29 +0000 Subject: Patch by Rene Hexel to make this package build with "egcs". --- math/octave/patches/egcs-patch-aa | 76 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 math/octave/patches/egcs-patch-aa (limited to 'math') 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 (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 (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 (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 (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 (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 (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 (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 (a, b)) + return ComplexMatrix (); + + int info; -- cgit v1.2.3