diff options
author | Maho Nakata <maho@FreeBSD.org> | 2004-05-05 18:27:53 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2004-05-05 18:27:53 +0000 |
commit | 3f9f08d9a175f51bc7118844edfdab2bd74633cd (patch) | |
tree | 8e198f994bfb0a78f9489a1d5fac06fd13ab3409 /cad | |
parent | be94495bde1ab4664527b8e89eab822b862651f7 (diff) | |
download | ports-3f9f08d9a175f51bc7118844edfdab2bd74633cd.tar.gz ports-3f9f08d9a175f51bc7118844edfdab2bd74633cd.zip |
Notes
Diffstat (limited to 'cad')
-rw-r--r-- | cad/tochnog/Makefile | 2 | ||||
-rw-r--r-- | cad/tochnog/files/patch-src+so_suplu.c | 22 |
2 files changed, 22 insertions, 2 deletions
diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile index f608b74262a6..2fd45094fe31 100644 --- a/cad/tochnog/Makefile +++ b/cad/tochnog/Makefile @@ -23,8 +23,6 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu_mt.a:${PORTSDIR}/math/superlu_mt BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu.a:${PORTSDIR}/math/superlu .endif -BROKEN= "Does not compile" - .include <bsd.port.pre.mk> .if ${OSVERSION} >= 500113 diff --git a/cad/tochnog/files/patch-src+so_suplu.c b/cad/tochnog/files/patch-src+so_suplu.c new file mode 100644 index 000000000000..26c6e82a9eb4 --- /dev/null +++ b/cad/tochnog/files/patch-src+so_suplu.c @@ -0,0 +1,22 @@ +--- so_suplu.c.orig Thu May 6 03:24:22 2004 ++++ so_suplu.c Thu May 6 03:24:25 2004 +@@ -53,6 +53,8 @@ + int *perm_r, *perm_c; + int perm_spec; + int nrhs; ++ SuperLUStat_t stat; ++ superlu_options_t options; + #endif + + /* Create Matrix A in the format expected by SuperLU */ +@@ -103,7 +105,9 @@ + + /* Solve */ + #if SUPERLU_USE +- dgssv( &A, perm_c, perm_r, &L, &U, &B, &info ); ++ /* Initialize the statistics variables. */ ++ StatInit(&stat); ++ dgssv(&options, &A, perm_c, perm_r, &L, &U, &B, &stat, &info ); + #elif SUPERLU_MT_USE + pdgssv( nthread, &A, perm_c, perm_r, &L, &U, &B, &info ); + #elif SUPERLU_DIST_USE |