commit: beaf133686ea9b9524b4250e5eebb9e6086928b2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri Dec 12 19:09:43 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Dec 12 19:14:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beaf1336
dev-libs/kopeninghours: Raise CMake minimum to 3.10...3.31 Upstream commit 11e0a257960a1448491795fe1d2b5eea322b6028 Closes: https://bugs.gentoo.org/967375 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> ...openinghours-25.12.0-cmake-minreqver-3.10.patch | 32 ++++++++++++++++++++++ .../kopeninghours/kopeninghours-25.12.0.ebuild | 2 ++ 2 files changed, 34 insertions(+) diff --git a/dev-libs/kopeninghours/files/kopeninghours-25.12.0-cmake-minreqver-3.10.patch b/dev-libs/kopeninghours/files/kopeninghours-25.12.0-cmake-minreqver-3.10.patch new file mode 100644 index 000000000000..4b450f1d2c5f --- /dev/null +++ b/dev-libs/kopeninghours/files/kopeninghours-25.12.0-cmake-minreqver-3.10.patch @@ -0,0 +1,32 @@ +From 11e0a257960a1448491795fe1d2b5eea322b6028 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <[email protected]> +Date: Thu, 20 Nov 2025 23:43:19 +0100 +Subject: [PATCH] Raise CMake minimum to 3.10...3.16 range + +CMake >=3.31 warns about compat. for <3.10 being removed in the future. + +Make 3.10 was released in 2017 and is available in Ubuntu Bionic, which is +referenced in the root CMakeLists.txt. The version range upper limit lets +others at least test at the same policy level as the 3.16 minimum from ECM. + +Signed-off-by: Andreas Sturmlechner <[email protected]> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e6b33cf..98172b0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,7 +1,7 @@ + # SPDX-FileCopyrightText: 2020 Volker Krause <[email protected]> + # SPDX-License-Identifier: BSD-3-Clause + +-cmake_minimum_required(VERSION 3.5) ++cmake_minimum_required(VERSION 3.10...3.16) + + # KDE Application Version, managed by release script + set (RELEASE_SERVICE_VERSION_MAJOR "26") +-- +GitLab + diff --git a/dev-libs/kopeninghours/kopeninghours-25.12.0.ebuild b/dev-libs/kopeninghours/kopeninghours-25.12.0.ebuild index d52224080fca..c1f1b1c9f7e7 100644 --- a/dev-libs/kopeninghours/kopeninghours-25.12.0.ebuild +++ b/dev-libs/kopeninghours/kopeninghours-25.12.0.ebuild @@ -42,6 +42,8 @@ BDEPEND=" app-alternatives/yacc " +PATCHES=( "${FILESDIR}/${P}-cmake-minreqver-3.10.patch" ) + src_configure() { local mycmakeargs=( -DPython_LIBRARY=$(python_get_library_path)
