commit:     2457b746d9d130050c084052da046701fd7cb089
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 20 07:12:31 2025 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sun Jul 20 07:22:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2457b746

media-radio/direwolf: Fix build with CMake4

Closes: https://bugs.gentoo.org/957495
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 .../direwolf/{direwolf-1.7.ebuild => direwolf-1.7-r1.ebuild}   |  3 ++-
 media-radio/direwolf/files/direwolf-1.7-cmake4.patch           | 10 ++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.7.ebuild 
b/media-radio/direwolf/direwolf-1.7-r1.ebuild
similarity index 95%
rename from media-radio/direwolf/direwolf-1.7.ebuild
rename to media-radio/direwolf/direwolf-1.7-r1.ebuild
index f60c6c1ec98d..7d9bc03e6965 100644
--- a/media-radio/direwolf/direwolf-1.7.ebuild
+++ b/media-radio/direwolf/direwolf-1.7-r1.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
@@ -26,6 +26,7 @@ DEPEND="${RDEPEND}"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-1.6-use-standard-doc-dir.patch
+       "${FILESDIR}"/${PN}-1.7-cmake4.patch
 )
 
 src_configure() {

diff --git a/media-radio/direwolf/files/direwolf-1.7-cmake4.patch 
b/media-radio/direwolf/files/direwolf-1.7-cmake4.patch
new file mode 100644
index 000000000000..548f7579675e
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.7-cmake4.patch
@@ -0,0 +1,10 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 85abceb..7aeb868 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1.0)
++cmake_minimum_required(VERSION 3.10)
+ 
+ project(direwolf)
+ 

Reply via email to