media-gfx/maim: fix build w/ >=dev-build/cmake-4*

Closes: https://bugs.gentoo.org/957925
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Part-of: https://github.com/gentoo/gentoo/pull/42792
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Lucio Sauer
2025-06-29 09:36:50 +01:00
committed by Sam James
parent a76095c96e
commit a5cc650b87
2 changed files with 16 additions and 3 deletions
@@ -0,0 +1,10 @@
Upstream commit that fixes https://bugs.gentoo.org/957925
https://github.com/naelstrof/maim/commit/1011cfe347fc744ef573474f4111e533c5490a65
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required( VERSION 3.1.3 )
+cmake_minimum_required( VERSION 3.5.0 )
project(maim VERSION 5.8.0 LANGUAGES CXX)
+6 -3
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
@@ -36,8 +36,11 @@ DEPEND="
"
RDEPEND="${DEPEND}"
# Pending issue upstream: https://github.com/naelstrof/maim/issues/292
PATCHES=( "${FILESDIR}/${P}-icu-75.patch" ) # bug 937454
PATCHES=(
"${FILESDIR}/${P}-cmake-4.patch" # bug 957925
# Upstreamed: https://github.com/naelstrof/maim/commit/b27fe197ea1d6116c2b7e92a0e4523a76db8e900
"${FILESDIR}/${P}-icu-75.patch" # bug 937454
)
src_configure() {
local mycmakeargs=(