mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
19
games-util/acc/files/acc-1.60-cmake.patch
Normal file
19
games-util/acc/files/acc-1.60-cmake.patch
Normal 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)
|
||||
|
||||
Reference in New Issue
Block a user