public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/acc/, games-util/acc/files/
Date: Thu, 17 Apr 2025 22:07:07 +0000 (UTC)	[thread overview]
Message-ID: <1744927602.59f8405ed21e2e15344441cf122d5f7e970a2c56.chewi@gentoo> (raw)

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 <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)
+ 


                 reply	other threads:[~2025-04-17 22:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1744927602.59f8405ed21e2e15344441cf122d5f7e970a2c56.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox