git: 6537dfdc6153 - main - games/freeblocks: fix compatibility with CMake 4

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Mon, 07 Sep 2026 22:59:52 UTC
The branch main has been updated by amdmi3:

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

commit 6537dfdc61539cca4efc5c0ceb037b792f3ae067
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2026-09-04 23:58:08 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2026-09-07 22:59:44 +0000

    games/freeblocks: fix compatibility with CMake 4
    
    PR:             298167
    Reported by:    arrowd
---
 games/freeblocks/files/patch-CMakeLists.txt | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/games/freeblocks/files/patch-CMakeLists.txt b/games/freeblocks/files/patch-CMakeLists.txt
index 207325d737a5..2ee1d169870a 100644
--- a/games/freeblocks/files/patch-CMakeLists.txt
+++ b/games/freeblocks/files/patch-CMakeLists.txt
@@ -1,6 +1,13 @@
---- CMakeLists.txt.orig	2015-03-08 13:57:11.000000000 +0300
-+++ CMakeLists.txt	2015-03-09 17:48:28.547228957 +0300
-@@ -126,7 +126,7 @@
+--- CMakeLists.txt.orig	2015-03-09 12:48:31 UTC
++++ CMakeLists.txt
+@@ -1,5 +1,5 @@ Project (freeblocks)
+ Project (freeblocks)
+-cmake_minimum_required (VERSION 2.6)
++cmake_minimum_required (VERSION 3.5)
+ 
+ Set (PACKAGE "FREEBLOCKS")
+ Set (VERSION "0.5")
+@@ -126,7 +126,7 @@ Target_Link_Libraries (freeblocks ${CMAKE_LD_FLAGS} ${
  Target_Link_Libraries (freeblocks ${CMAKE_LD_FLAGS} ${SDL_LIBRARY} ${SDLIMAGE_LIBRARY} ${SDLMIXER_LIBRARY} ${SDLTTF_LIBRARY} ${SDLMAIN_LIBRARY} ${EXTRA_LIBRARIES})
  
  # installing to the proper places