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@gentoo.org>
This commit is contained in:
James Le Cuirot
2025-04-17 23:06:42 +01:00
parent eb87fe67d8
commit 59f8405ed2
2 changed files with 22 additions and 1 deletions

View File

@@ -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

View File

@@ -0,0 +1,19 @@
From df6a2735acccad9131ce73fa07506445cfe69ec2 Mon Sep 17 00:00:00 2001
From: Rachael Alexanderson <madame-rachelle@users.noreply.github.com>
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)