diff --git a/media-gfx/maim/files/maim-5.8.0-cmake-4.patch b/media-gfx/maim/files/maim-5.8.0-cmake-4.patch new file mode 100644 index 0000000000000..fb2f8382ef66c --- /dev/null +++ b/media-gfx/maim/files/maim-5.8.0-cmake-4.patch @@ -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) + diff --git a/media-gfx/maim/maim-5.8.0.ebuild b/media-gfx/maim/maim-5.8.0.ebuild index d8582940073fc..287f2540aec31 100644 --- a/media-gfx/maim/maim-5.8.0.ebuild +++ b/media-gfx/maim/maim-5.8.0.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 @@ -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=(