commit:     e496ba2bba91c3b10a251e76f373ecc54d2245f3
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  8 06:26:43 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jul  8 06:26:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e496ba2b

dev-cpp/xsimd: require cmake >= 3.8

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

 dev-cpp/xsimd/files/xsimd-13.2.0-cmake.patch | 22 ++++++++++++++++++++++
 dev-cpp/xsimd/xsimd-13.2.0.ebuild            |  1 +
 2 files changed, 23 insertions(+)

diff --git a/dev-cpp/xsimd/files/xsimd-13.2.0-cmake.patch 
b/dev-cpp/xsimd/files/xsimd-13.2.0-cmake.patch
new file mode 100644
index 000000000000..42adc96cf855
--- /dev/null
+++ b/dev-cpp/xsimd/files/xsimd-13.2.0-cmake.patch
@@ -0,0 +1,22 @@
+--- a/benchmark/CMakeLists.txt 2025-07-08 08:23:10.926630364 +0200
++++ b/benchmark/CMakeLists.txt 2025-07-08 08:23:21.764513856 +0200
+@@ -9,7 +9,7 @@
+ # The full license is in the file LICENSE, distributed with this software. #
+ ############################################################################
+ 
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.8)
+ 
+ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
+     project(xsimd-benchmark)
+--- a/examples/CMakeLists.txt  2025-07-08 08:23:32.134402377 +0200
++++ b/examples/CMakeLists.txt  2025-07-08 08:23:42.504290895 +0200
+@@ -9,7 +9,7 @@
+ # The full license is in the file LICENSE, distributed with this software. #
+ ############################################################################
+ 
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.8)
+ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
+     project(xsimd-examples)
+ 

diff --git a/dev-cpp/xsimd/xsimd-13.2.0.ebuild 
b/dev-cpp/xsimd/xsimd-13.2.0.ebuild
index bdf7e6be681b..c485908fa4f8 100644
--- a/dev-cpp/xsimd/xsimd-13.2.0.ebuild
+++ b/dev-cpp/xsimd/xsimd-13.2.0.ebuild
@@ -31,6 +31,7 @@ BDEPEND="
 PATCHES=(
        "${FILESDIR}"/${PN}-11.1.0-c++17.patch
        "${FILESDIR}"/${PN}-12.1.1-no-march.patch
+       "${FILESDIR}"/${P}-cmake.patch
 )
 
 python_check_deps() {

Reply via email to