dev-libs/sleef: fix min cmake

Closes: https://bugs.gentoo.org/957474
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone 2025-07-06 16:36:28 +02:00
parent d90b9197a4
commit ee5ca7a39a
No known key found for this signature in database
GPG Key ID: FBE5925C5B02CE58
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,8 @@
--- a/docs/src/CMakeLists.txt 2025-07-06 16:23:35.266745870 +0200
+++ b/docs/src/CMakeLists.txt 2025-07-06 16:23:49.417596815 +0200
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.4.3)
+cmake_minimum_required(VERSION 3.18)
project(MyProject)
include(ExternalProject)
find_package(Git REQUIRED)

View File

@ -20,7 +20,10 @@ BDEPEND="
test? ( >=dev-libs/mpfr-4.2 )
"
PATCHES=( "${FILESDIR}"/${PN}-3.6.1-musl.patch )
PATCHES=(
"${FILESDIR}"/${PN}-3.6.1-musl.patch
"${FILESDIR}"/${P}-cmake.patch
)
src_configure() {
local mycmakeargs=(