commit: 59f8405ed21e2e15344441cf122d5f7e970a2c56 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Thu Apr 17 22:06:42 2025 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Thu Apr 17 22:06:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59f8405e
games-util/acc: Patch to fix build with CMake 4 Thanks to NHOrus for their help with this. Closes: https://bugs.gentoo.org/951932 Closes: https://github.com/gentoo/gentoo/pull/41267 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> games-util/acc/acc-1.60.ebuild | 4 +++- games-util/acc/files/acc-1.60-cmake.patch | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/games-util/acc/acc-1.60.ebuild b/games-util/acc/acc-1.60.ebuild index ae59620a784b..ffd9e41b2747 100644 --- a/games-util/acc/acc-1.60.ebuild +++ b/games-util/acc/acc-1.60.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,6 +17,8 @@ KEYWORDS="~amd64" # https://doomwiki.org/wiki/Raven_source_code_licensing RESTRICT="bindist mirror" +PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) + src_install() { dobin "${BUILD_DIR}"/${PN} dodoc readme.md diff --git a/games-util/acc/files/acc-1.60-cmake.patch b/games-util/acc/files/acc-1.60-cmake.patch new file mode 100644 index 000000000000..4245ddf0df69 --- /dev/null +++ b/games-util/acc/files/acc-1.60-cmake.patch @@ -0,0 +1,19 @@ +From df6a2735acccad9131ce73fa07506445cfe69ec2 Mon Sep 17 00:00:00 2001 +From: Rachael Alexanderson <[email protected]> +Date: Wed, 26 Mar 2025 05:24:13 -0400 +Subject: [PATCH] - use cmake range syntax + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 9dc54c3..d83a8ae 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.4) ++cmake_minimum_required(VERSION 3.5...4.0) + + project(acc) +
