mfem: add a patch for v4.6 for gcc 13, see mfem PR 3903 (#40495)
This commit is contained in:
parent
39d2baec8a
commit
8a311d7746
12
var/spack/repos/builtin/packages/mfem/mfem-4.6.patch
Normal file
12
var/spack/repos/builtin/packages/mfem/mfem-4.6.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/general/kdtree.hpp b/general/kdtree.hpp
|
||||||
|
index eebbdaa27..b35a33ea4 100644
|
||||||
|
--- a/general/kdtree.hpp
|
||||||
|
+++ b/general/kdtree.hpp
|
||||||
|
@@ -17,6 +17,7 @@
|
||||||
|
#include <fstream>
|
||||||
|
#include <iostream>
|
||||||
|
#include <cmath>
|
||||||
|
+#include <cstdint>
|
||||||
|
#include <tuple>
|
||||||
|
|
||||||
|
namespace mfem
|
@ -468,6 +468,7 @@ class Mfem(Package, CudaPackage, ROCmPackage):
|
|||||||
# upstream.
|
# upstream.
|
||||||
patch("mfem-4.0.0-makefile-syntax-fix.patch", when="@4.0.0")
|
patch("mfem-4.0.0-makefile-syntax-fix.patch", when="@4.0.0")
|
||||||
patch("mfem-4.5.patch", when="@4.5.0")
|
patch("mfem-4.5.patch", when="@4.5.0")
|
||||||
|
patch("mfem-4.6.patch", when="@4.6.0")
|
||||||
|
|
||||||
phases = ["configure", "build", "install"]
|
phases = ["configure", "build", "install"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user