mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-libs/cpuinfo: fix build with test
Closes: https://bugs.gentoo.org/959334 Closes: https://bugs.gentoo.org/957463 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
parent
0db9e4defb
commit
8ccefd3f5f
@ -24,6 +24,7 @@ RESTRICT="!test? ( test )"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2023.11.04-gentoo.patch
|
||||
"${FILESDIR}"/${PN}-2023.01.13-test.patch
|
||||
"${FILESDIR}"/${P}-cmake.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
25
dev-libs/cpuinfo/files/cpuinfo-2024.10.22.2-cmake.patch
Normal file
25
dev-libs/cpuinfo/files/cpuinfo-2024.10.22.2-cmake.patch
Normal file
@ -0,0 +1,25 @@
|
||||
--- a/deps/clog/CMakeLists.txt 2025-07-03 13:48:59.732799363 +0200
|
||||
+++ b/deps/clog/CMakeLists.txt 2025-07-03 13:49:19.943589382 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-CMAKE_MINIMUM_REQUIRED(VERSION 3.1 FATAL_ERROR)
|
||||
+CMAKE_MINIMUM_REQUIRED(VERSION 3.5 FATAL_ERROR)
|
||||
|
||||
INCLUDE(GNUInstallDirs)
|
||||
|
||||
--- a/CMakeLists.txt 2025-07-03 14:17:50.895772131 +0200
|
||||
+++ b/CMakeLists.txt 2025-07-03 14:18:13.206538587 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-CMAKE_MINIMUM_REQUIRED(VERSION 3.5 FATAL_ERROR)
|
||||
+CMAKE_MINIMUM_REQUIRED(VERSION 3.8 FATAL_ERROR)
|
||||
|
||||
# ---[ Setup project
|
||||
PROJECT(
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
MACRO(CPUINFO_TARGET_ENABLE_CXX11 target)
|
||||
SET_TARGET_PROPERTIES(${target} PROPERTIES
|
||||
- CXX_STANDARD 14
|
||||
+ CXX_STANDARD 17
|
||||
CXX_EXTENSIONS NO)
|
||||
ENDMACRO()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user