git: fc03e3da6993 - main - games/wargus: fix build with recent c++ library
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jun 2023 15:52:49 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc03e3da69931447e8bbdb0a6b515283b975a28c commit fc03e3da69931447e8bbdb0a6b515283b975a28c Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2023-06-05 14:07:00 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2023-06-05 15:49:42 +0000 games/wargus: fix build with recent c++ library In recent c++ library (such as on 14.x), <experimental/filesystem> header would be removed in favor of standard <filesystem>. Remove check for the former and don't do weird stuff when experimental/filesystem is not present. This is similar to 092787dffe45ea6ee1c5ea3b8cede34eea142992 for games/stratagus Reported by: pkg-fallout --- games/wargus/files/patch-CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/games/wargus/files/patch-CMakeLists.txt b/games/wargus/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..4711489c192c --- /dev/null +++ b/games/wargus/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2022-08-10 18:15:26 UTC ++++ CMakeLists.txt +@@ -162,7 +162,7 @@ set(wartool_LIBS ${pudconvert_LIBS} ${PNG_LIBRARIES} $ + + if(WIN32 AND MSVC) + add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE=1) +-else() ++elseif(FALSE) + include(CheckCXXSourceCompiles) + set(FS_SRC " + #include <experimental/filesystem>