git: ff7069b69f5c - main - games/astromenace: fix compatibility with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Sep 2026 23:36:36 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ff7069b69f5cb8070e393f1c9663b1ffbd703039
commit ff7069b69f5cb8070e393f1c9663b1ffbd703039
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2026-08-31 19:46:35 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2026-09-04 23:33:42 +0000
games/astromenace: fix compatibility with CMake 4
PR: 297863
Reported by: arrowd
---
games/astromenace/files/patch-CMakeLists.txt | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/games/astromenace/files/patch-CMakeLists.txt b/games/astromenace/files/patch-CMakeLists.txt
index 2c02b47bced5..9715e0e9fdb2 100644
--- a/games/astromenace/files/patch-CMakeLists.txt
+++ b/games/astromenace/files/patch-CMakeLists.txt
@@ -1,6 +1,12 @@
---- CMakeLists.txt.orig 2022-11-27 15:27:14 UTC
+--- CMakeLists.txt.orig 2026-08-31 19:44:06 UTC
+++ CMakeLists.txt
-@@ -265,8 +265,9 @@ IF(NOT DONTCREATEVFS)
+@@ -1,4 +1,4 @@
+-CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.31.12)
+
+ IF(POLICY CMP0072)
+ # OpenGL related
+@@ -263,8 +263,9 @@ ENDIF(NOT DONTCREATEVFS)
)
ENDIF(NOT DONTCREATEVFS)
@@ -11,7 +17,7 @@
IF(MINGW)
INSTALL(FILES "${DEPS_PATH}/bin/SDL2.dll" DESTINATION ${CMAKE_INSTALL_PREFIX})
INSTALL(FILES "${DEPS_PATH}/bin/libalut.dll" DESTINATION ${CMAKE_INSTALL_PREFIX})
-@@ -277,5 +278,5 @@ IF(MINGW)
+@@ -275,5 +276,5 @@ IF(NOT DONTCREATEVFS)
INSTALL(FILES "${DEPS_PATH}/bin/libfreetype.dll" DESTINATION ${CMAKE_INSTALL_PREFIX})
ENDIF(MINGW)
IF(NOT DONTCREATEVFS)