commit: b2d47b8569c2480ed4c4e09496d576c0ab1860dc Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Jun 26 20:25:54 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Jun 26 20:32:48 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2d47b85
media-libs/simage: Fix build w/ cmake-4 Closes: https://bugs.gentoo.org/952022 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-libs/simage/files/simage-1.8.3-cmake4.patch | 19 +++++++++++++++++++ media-libs/simage/simage-1.8.3-r1.ebuild | 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/media-libs/simage/files/simage-1.8.3-cmake4.patch b/media-libs/simage/files/simage-1.8.3-cmake4.patch new file mode 100644 index 000000000000..af4b1a7452d1 --- /dev/null +++ b/media-libs/simage/files/simage-1.8.3-cmake4.patch @@ -0,0 +1,19 @@ +From 0d69e6f9e23a13406d49fe3dc855885046408162 Mon Sep 17 00:00:00 2001 +From: Volker Enderlein <[email protected]> +Date: Tue, 1 Apr 2025 20:22:45 +0200 +Subject: [PATCH] Adapt cmake_minimum_required command for usage with CMake 4.0 + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 835c498..276178d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.0...3.29) + + set(SIMAGE_MAJOR_VERSION 1) + set(SIMAGE_MINOR_VERSION 8) diff --git a/media-libs/simage/simage-1.8.3-r1.ebuild b/media-libs/simage/simage-1.8.3-r1.ebuild index 73298867eca3..d91adf820724 100644 --- a/media-libs/simage/simage-1.8.3-r1.ebuild +++ b/media-libs/simage/simage-1.8.3-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 @@ -48,6 +48,7 @@ BDEPEND="test? ( media-libs/libsndfile )" PATCHES=( "${FILESDIR}"/${PN}-1.8.1-0001-Gentoo-specific-remove-RELEASE-flag-from-pkg-config.patch + "${FILESDIR}"/${P}-cmake4.patch # bug 952022 ) DOCS=( AUTHORS ChangeLog NEWS README )
