commit: a5cc650b87e470ef7de1a91a8b88faf2fbf2c4f6 Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> AuthorDate: Fri Jun 27 19:03:26 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jun 29 08:36:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5cc650b
media-gfx/maim: fix build w/ >=dev-build/cmake-4* Closes: https://bugs.gentoo.org/957925 Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net> Part-of: https://github.com/gentoo/gentoo/pull/42792 Signed-off-by: Sam James <sam <AT> gentoo.org> media-gfx/maim/files/maim-5.8.0-cmake-4.patch | 10 ++++++++++ media-gfx/maim/maim-5.8.0.ebuild | 9 ++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) 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 000000000000..fb2f8382ef66 --- /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 d8582940073f..287f2540aec3 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=(
