git: af245e5e9659 - main - games/divide-and-succeed: fix compatibility with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Sep 2026 23:36:39 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=af245e5e9659d33965ff6835ab58498cd0eaf03f
commit af245e5e9659d33965ff6835ab58498cd0eaf03f
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2026-08-31 13:48:55 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2026-09-04 23:35:44 +0000
games/divide-and-succeed: fix compatibility with CMake 4
PR: 297962
Reported by: arrowd
---
games/divide-and-succeed/files/patch-CMakeLists.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/games/divide-and-succeed/files/patch-CMakeLists.txt b/games/divide-and-succeed/files/patch-CMakeLists.txt
index 2f65cf75e07c..1000294a7d18 100644
--- a/games/divide-and-succeed/files/patch-CMakeLists.txt
+++ b/games/divide-and-succeed/files/patch-CMakeLists.txt
@@ -1,5 +1,11 @@
--- CMakeLists.txt.orig 2013-12-11 17:36:43 UTC
+++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.6) # Pour éviter un warning au lancement de CMake, on doit préciser la version minimale
++cmake_minimum_required(VERSION 3.31.12) # Pour éviter un warning au lancement de CMake, on doit préciser la version minimale
+
+ # Nom du projet
+ project(Divide_And_Succeed)
@@ -24,15 +24,13 @@ include_directories(
set(SRC_DIR ${PROJECT_SOURCE_DIR}/src)