git: 40933734bf01 - main - devel/allegro5: Fix building with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Nov 2026 17:08:11 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=40933734bf0123b48c11b704c22d3e431a07fc55
commit 40933734bf0123b48c11b704c22d3e431a07fc55
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-11-01 17:07:40 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-11-01 17:07:58 +0000
devel/allegro5: Fix building with CMake 4
Approved by: portmgr (blanket)
---
devel/allegro5/files/patch-CMakeLists.txt | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/devel/allegro5/files/patch-CMakeLists.txt b/devel/allegro5/files/patch-CMakeLists.txt
index 2cc6742e450a..2731181fd390 100644
--- a/devel/allegro5/files/patch-CMakeLists.txt
+++ b/devel/allegro5/files/patch-CMakeLists.txt
@@ -1,5 +1,14 @@
---- CMakeLists.txt.orig 2024-12-29 03:52:10 UTC
+--- CMakeLists.txt.orig 2024-05-17 09:29:04 UTC
+++ CMakeLists.txt
+@@ -5,7 +5,7 @@
+ # - some documentation targets still missing
+ # - installing documentation
+ #
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
+ if(COMMAND cmake_policy)
+ cmake_policy(SET CMP0003 NEW)
+ if(POLICY CMP0026)
@@ -927,6 +927,8 @@ set(PLATFORM_LIBS)
# Libraries that we always need to link against on this platform.
set(PLATFORM_LIBS)