git: d6ad97d73599 - main - devel/umpire: Fix build by updating to C++20
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Jul 2026 20:19:22 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d6ad97d73599e18ebddf584fcd1a67ba3bb91bf4
commit d6ad97d73599e18ebddf584fcd1a67ba3bb91bf4
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-27 20:17:20 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-27 20:19:19 +0000
devel/umpire: Fix build by updating to C++20
camp package now uses C++ 'concept' that is only available in C++20.
Reported by: fallout
---
devel/umpire/files/patch-CMakeLists.txt | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/devel/umpire/files/patch-CMakeLists.txt b/devel/umpire/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..0375017af32c
--- /dev/null
+++ b/devel/umpire/files/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+-- fix build because camp-2026.07.0 uses C++ feature 'concept' which is standardized only in C++20
+
+--- CMakeLists.txt.orig 2026-07-27 20:11:17 UTC
++++ CMakeLists.txt
+@@ -27,7 +27,7 @@ include(cmake/SetupUmpireOptions.cmake)
+ include(cmake/SetupUmpireOptions.cmake)
+
+ # Default to c++17 if not specified by the user.
+-set(BLT_CXX_STD "c++17" CACHE STRING "Version of C++ standard")
++set(BLT_CXX_STD "c++20" CACHE STRING "Version of C++ standard")
+
+ # If BLT_CXX_STD is set by the user, check that it is at least 17.
+ if("${BLT_CXX_STD}" STREQUAL "c++98" OR