From 3f6c3c102588689a907948181592b061073432d1 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Sat, 15 Nov 2025 21:42:31 +0100 Subject: [PATCH] sci-ml/kineto: fix cmake min version Closes: https://bugs.gentoo.org/965008 Signed-off-by: Alfredo Tupone --- .../kineto/files/kineto-0.4.0_p20250617-cmake.patch | 11 +++++++++++ sci-ml/kineto/kineto-0.4.0_p20250617-r2.ebuild | 1 + 2 files changed, 12 insertions(+) create mode 100644 sci-ml/kineto/files/kineto-0.4.0_p20250617-cmake.patch diff --git a/sci-ml/kineto/files/kineto-0.4.0_p20250617-cmake.patch b/sci-ml/kineto/files/kineto-0.4.0_p20250617-cmake.patch new file mode 100644 index 000000000000..432c79e950d7 --- /dev/null +++ b/sci-ml/kineto/files/kineto-0.4.0_p20250617-cmake.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt 2025-11-15 21:37:39.359617528 +0100 ++++ b/CMakeLists.txt 2025-11-15 21:37:57.835681898 +0100 +@@ -4,7 +4,7 @@ + # This source code is licensed under the BSD-style license found in the + # LICENSE file in the root directory of this source tree. + +-cmake_minimum_required(VERSION 3.5 FATAL_ERROR) ++cmake_minimum_required(VERSION 3.10 FATAL_ERROR) + + list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules") + diff --git a/sci-ml/kineto/kineto-0.4.0_p20250617-r2.ebuild b/sci-ml/kineto/kineto-0.4.0_p20250617-r2.ebuild index 64e7ec8a5f0d..04e13b1a8e42 100644 --- a/sci-ml/kineto/kineto-0.4.0_p20250617-r2.ebuild +++ b/sci-ml/kineto/kineto-0.4.0_p20250617-r2.ebuild @@ -32,6 +32,7 @@ RESTRICT="!test? ( test )" PATCHES=( "${FILESDIR}"/${PN}-0.4.0_p20250418-AppxClock.patch + "${FILESDIR}"/${P}-cmake.patch ) src_prepare() {