git: 4dd28c72da13 - main - science/trilinos: Fix build on 13 and maybe other systems

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 04 Apr 2024 21:43:37 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4dd28c72da13d45db697b4a9e787ff04c1372111

commit 4dd28c72da13d45db697b4a9e787ff04c1372111
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-04 21:42:30 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-04 21:43:35 +0000

    science/trilinos: Fix build on 13 and maybe other systems
    
    The '#include <array>' was missing there.
    Reported by:    fallout
---
 ...ch-packages_tpetra_core_src_Tpetra__Details__Behavior.cpp | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/science/trilinos/files/patch-packages_tpetra_core_src_Tpetra__Details__Behavior.cpp b/science/trilinos/files/patch-packages_tpetra_core_src_Tpetra__Details__Behavior.cpp
new file mode 100644
index 000000000000..b13b61fa482a
--- /dev/null
+++ b/science/trilinos/files/patch-packages_tpetra_core_src_Tpetra__Details__Behavior.cpp
@@ -0,0 +1,12 @@
+- workaround for https://github.com/trilinos/Trilinos/issues/12890
+
+--- packages/tpetra/core/src/Tpetra_Details_Behavior.cpp.orig	2024-04-04 21:39:32 UTC
++++ packages/tpetra/core/src/Tpetra_Details_Behavior.cpp
+@@ -40,6 +40,7 @@
+ */
+ // clang-format on
+ #include <algorithm> // std::transform
++#include <array>
+ #include <cctype>    // std::toupper
+ #include <cstdlib>   // std::getenv
+ #include <functional>