freebsd-ports/cad/tochnog/files/patch-tnsuplu.h
Maho Nakata 5c11790463 o Update to tochnog accodingly (by version up of superlu)
o cleanup
PR:		92782
Submitted by:	Pedro F.Giffuni <giffunip@asme.org>
2006-02-13 02:45:09 +00:00

15 lines
410 B
C

--- tnsuplu.h.orig Sun Aug 19 12:31:52 2001
+++ tnsuplu.h Fri Feb 3 15:55:13 2006
@@ -2,6 +2,12 @@
#define SUPERLU_USE 0
#define SUPERLU_MT_USE 0
#define SUPERLU_DIST_USE 0
+/* enums were changed for SuperLU v2 */
+#define _D SLU_D
+#define DN SLU_DN
+#define GE SLU_GE
+#define NC SLU_NC
+
/* don't change the next lines */
#if SUPERLU_USE+SUPERLU_MT_USE+SUPERLU_DIST_USE > 1
ERROR___ just pick one