summaryrefslogtreecommitdiff
path: root/math/gmm++/files
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-07-12 06:25:29 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2025-07-12 06:36:37 +0900
commite9724e5f20940c4cf08276327888dd29c5ed6e64 (patch)
treeb15fcbe32e6c0be1ae90b5725d324e01d46eaad7 /math/gmm++/files
parentsecurity/vuxml: Document mod_http2 vulnerabilities (diff)
math/gmm++: unbreak build of consumer (cad/gmsh)
We need to define which linear equations solver (MUMPS or SuperLU) to be used in configuration header. This commit adds either of them based on a chosen option and should unbreak the build of cad/gmsh. PR: 288106 Reported by: thierry Approved by: Atanu Biswas <atanubiswas484@gmail.com> (maintainer) Fixes: 5b6b3839ef38 (update to 5.4.4 and take maintainership)
Diffstat (limited to 'math/gmm++/files')
-rw-r--r--math/gmm++/files/extra-patch-mumps10
-rw-r--r--math/gmm++/files/extra-patch-superlu10
2 files changed, 20 insertions, 0 deletions
diff --git a/math/gmm++/files/extra-patch-mumps b/math/gmm++/files/extra-patch-mumps
new file mode 100644
index 000000000000..7df79cd5e4ab
--- /dev/null
+++ b/math/gmm++/files/extra-patch-mumps
@@ -0,0 +1,10 @@
+--- include/gmm/gmm_arch_config.h.orig 2025-07-10 22:02:57 UTC
++++ include/gmm/gmm_arch_config.h
+@@ -2,6 +2,7 @@
+ #define _SRC_GMM_GMM_ARCH_CONFIG_H 1
+ // enable the following line for OpenMP support
+ // #define GMM_HAVE_OPENMP
++#define GMM_USES_MUMPS
+ //
+ /* once: _SRC_GMM_GMM_ARCH_CONFIG_H */
+ #endif
diff --git a/math/gmm++/files/extra-patch-superlu b/math/gmm++/files/extra-patch-superlu
new file mode 100644
index 000000000000..4afe7408af44
--- /dev/null
+++ b/math/gmm++/files/extra-patch-superlu
@@ -0,0 +1,10 @@
+--- include/gmm/gmm_arch_config.h.orig 2025-07-10 22:02:57 UTC
++++ include/gmm/gmm_arch_config.h
+@@ -2,6 +2,7 @@
+ #define _SRC_GMM_GMM_ARCH_CONFIG_H 1
+ // enable the following line for OpenMP support
+ // #define GMM_HAVE_OPENMP
++#define GMM_USES_SUPERLU
+ //
+ /* once: _SRC_GMM_GMM_ARCH_CONFIG_H */
+ #endif