git: 504ee229547b - main - games/qwdtools: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 27 Sep 2026 10:47:18 UTC
The branch main has been updated by arrowd:

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

commit 504ee229547bccec193b0151bd757f645fbbae38
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-27 10:45:45 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-27 10:45:45 +0000

    games/qwdtools: Fix building with CMake 4
    
    Approved by:    portmgr (fixit blanket)
---
 games/qwdtools/files/patch-CMakeLists.txt | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/games/qwdtools/files/patch-CMakeLists.txt b/games/qwdtools/files/patch-CMakeLists.txt
index ae1b92aa8e89..925581cf34b7 100644
--- a/games/qwdtools/files/patch-CMakeLists.txt
+++ b/games/qwdtools/files/patch-CMakeLists.txt
@@ -1,5 +1,11 @@
---- CMakeLists.txt.orig	2024-12-27 17:43:52 UTC
+--- CMakeLists.txt.orig	2022-09-05 22:01:16 UTC
 +++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.4.0)
++cmake_minimum_required(VERSION 3.5.0)
+ 
+ set(CMAKE_VERBOSE_MAKEFILE ON)
+ 
 @@ -71,7 +71,7 @@ if(IS_BIG_ENDIAN)
  include (TestBigEndian)
  TEST_BIG_ENDIAN(IS_BIG_ENDIAN)