mfem: add a patch for v4.6 for gcc 13, see mfem PR 3903 (#40495)

This commit is contained in:
Veselin Dobrev 2023-10-14 22:01:53 -07:00 committed by GitHub
parent 39d2baec8a
commit 8a311d7746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View 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

View File

@ -468,6 +468,7 @@ class Mfem(Package, CudaPackage, ROCmPackage):
# upstream.
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.6.patch", when="@4.6.0")
phases = ["configure", "build", "install"]