git: f5fcc541eb4d - main - games/liblcf: switch to c++17

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Wed, 25 Dec 2024 19:12:12 UTC
The branch main has been updated by amdmi3:

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

commit f5fcc541eb4da4214651660de868b398c7ced28f
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2024-12-25 19:06:25 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2024-12-25 19:12:04 +0000

    games/liblcf: switch to c++17
    
    Upstream do the same thing after 0.8 release, and this is required to
    work with latest libicu.
    
    PR:             283569
    Reported by:    diizzy
---
 games/liblcf/files/patch-CMakeLists.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/games/liblcf/files/patch-CMakeLists.txt b/games/liblcf/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..2bedc9ae689c
--- /dev/null
+++ b/games/liblcf/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2023-04-29 15:40:07 UTC
++++ CMakeLists.txt
+@@ -21,7 +21,7 @@ include(ConfigureWindows)
+ include(ConfigureWindows)
+ 
+ # C++14 is required
+-set(CMAKE_CXX_STANDARD 14)
++set(CMAKE_CXX_STANDARD 17)
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+ set(CMAKE_CXX_EXTENSIONS ON)
+