diff options
Diffstat (limited to 'math/rlab/patches/patch-aq')
-rw-r--r-- | math/rlab/patches/patch-aq | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/math/rlab/patches/patch-aq b/math/rlab/patches/patch-aq new file mode 100644 index 00000000000..7e8a27c6050 --- /dev/null +++ b/math/rlab/patches/patch-aq @@ -0,0 +1,52 @@ +$NetBSD: patch-aq,v 1.1 2003/01/28 01:18:22 uebayasi Exp $ + +--- mscf2.c.orig Sun Apr 25 22:48:13 1999 ++++ mscf2.c +@@ -292,7 +292,7 @@ + #undef _C + #undef _Z + +-#include "supermatrix.h" ++#include <superlu/zsp_defs.h> + + #define Matrix SuperMatrix + +@@ -488,9 +488,9 @@ + * Setup the SuperLU [A] from [a]. + */ + +- A.Stype = NC; +- A.Dtype = _Z; +- A.Mtype = GE; ++ A.Stype = SLU_NC; ++ A.Dtype = SLU_Z; ++ A.Mtype = SLU_GE; + A.nrow = n; + A.ncol = n; + A.Store = GC_MALLOC(sizeof(NCformat)); +@@ -504,9 +504,9 @@ + * Setup the SuperLU RHS from [x] (a copy of [b]). + */ + +- B.Stype = DN; +- B.Dtype = _Z; +- B.Mtype = GE; ++ B.Stype = SLU_DN; ++ B.Dtype = SLU_Z; ++ B.Mtype = SLU_GE; + B.nrow = n; + B.ncol = MNC (b); + B.Store = (DNformat *) GC_MALLOC (sizeof(DNformat)); +@@ -646,9 +646,9 @@ + perm_ctmp = (int *) GC_MAIOP(n*sizeof(int)); + perm_r = (int *) GC_MAIOP(n*sizeof(int)); + +- A.Stype = NC; +- A.Dtype = _Z; +- A.Mtype = GE; ++ A.Stype = SLU_NC; ++ A.Dtype = SLU_Z; ++ A.Mtype = SLU_GE; + A.nrow = n; + A.ncol = n; + A.Store = GC_MALLOC(sizeof(NCformat)); |