commit:     34d88e837b3d6f153b3565a7dd108f6f4de5322e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 16 08:29:22 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Nov 16 08:30:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d88e83

sci-ml/gemmlowp: fix min cmake version

Closes: https://bugs.gentoo.org/964961
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/gemmlowp/files/gemmlowp-2021.12.20-cmake.patch | 11 +++++++++++
 sci-ml/gemmlowp/gemmlowp-2021.12.20.ebuild            |  2 ++
 2 files changed, 13 insertions(+)

diff --git a/sci-ml/gemmlowp/files/gemmlowp-2021.12.20-cmake.patch 
b/sci-ml/gemmlowp/files/gemmlowp-2021.12.20-cmake.patch
new file mode 100644
index 000000000000..b751d296d04a
--- /dev/null
+++ b/sci-ml/gemmlowp/files/gemmlowp-2021.12.20-cmake.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt   2025-11-16 09:21:36.261871093 +0100
++++ b/CMakeLists.txt   2025-11-16 09:21:58.407948596 +0100
+@@ -2,7 +2,7 @@
+ # Copyright © 2016 Zhou Mo <[email protected]>
+ # Licence Apache-2.0
+ 
+-cmake_minimum_required(VERSION 3.7)
++cmake_minimum_required(VERSION 3.10)
+ 
+ # Project
+ project(gemmlowp C CXX)

diff --git a/sci-ml/gemmlowp/gemmlowp-2021.12.20.ebuild 
b/sci-ml/gemmlowp/gemmlowp-2021.12.20.ebuild
index 5e11d229caeb..52d6c1518255 100644
--- a/sci-ml/gemmlowp/gemmlowp-2021.12.20.ebuild
+++ b/sci-ml/gemmlowp/gemmlowp-2021.12.20.ebuild
@@ -20,6 +20,8 @@ IUSE="test"
 BDEPEND="test? ( dev-cpp/gtest )"
 RESTRICT="!test? ( test )"
 
+PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
+
 src_configure() {
        local mycmakeargs=(
                -DBUILD_TESTING=$(usex test ON OFF)

Reply via email to