git: 424e701ea539 - main - games/barony: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 01 Nov 2026 19:24:10 UTC
The branch main has been updated by arrowd:

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

commit 424e701ea539117317e6a0d8786adb51f9991692
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-11-01 19:23:43 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-11-01 19:24:05 +0000

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

diff --git a/games/barony/files/patch-CMakeLists.txt b/games/barony/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..fcefb4b024e6
--- /dev/null
+++ b/games/barony/files/patch-CMakeLists.txt
@@ -0,0 +1,8 @@
+--- CMakeLists.txt.orig	2026-11-01 19:21:33 UTC
++++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 3.5)
+ project(barony)
+ 
+ if (NOT CMAKE_BUILD_TYPE)