commit: ff02114190629e6b6852ce50df33b632189ed560 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> AuthorDate: Sun Nov 23 21:31:07 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Nov 24 13:28:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff021141
sci-libs/highfive: fix QA cmake4 warning Closes: https://bugs.gentoo.org/965414 Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> Part-of: https://github.com/gentoo/gentoo/pull/44750 Signed-off-by: Sam James <sam <AT> gentoo.org> .../highfive-2.8.0_fix_QA_cmake4_warning.patch | 41 ++++++++++++++++++++++ ...five-2.8.0.ebuild => highfive-2.10.1-r1.ebuild} | 4 ++- ...five-2.10.1.ebuild => highfive-2.8.0-r1.ebuild} | 2 ++ 3 files changed, 46 insertions(+), 1 deletion(-) diff --git a/sci-libs/highfive/files/highfive-2.8.0_fix_QA_cmake4_warning.patch b/sci-libs/highfive/files/highfive-2.8.0_fix_QA_cmake4_warning.patch new file mode 100644 index 000000000000..4e7a38493369 --- /dev/null +++ b/sci-libs/highfive/files/highfive-2.8.0_fix_QA_cmake4_warning.patch @@ -0,0 +1,41 @@ +diff '--color=auto' -Naur a/CMake/HighFiveTargetDeps.cmake b/CMake/HighFiveTargetDeps.cmake +--- a/CMake/HighFiveTargetDeps.cmake ++++ b/CMake/HighFiveTargetDeps.cmake +@@ -52,7 +52,7 @@ + # build failures. + set(Boost_NO_BOOST_CMAKE TRUE) + endif() +- find_package(Boost REQUIRED COMPONENTS system serialization) ++ find_package(Boost CONFIG REQUIRED COMPONENTS system serialization) + # Dont use imported targets yet, not avail before cmake 3.5 + target_include_directories(libdeps SYSTEM INTERFACE ${Boost_INCLUDE_DIR}) + target_compile_definitions(libdeps INTERFACE BOOST_ALL_NO_LIB H5_USE_BOOST) +diff '--color=auto' -Naur a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.1) ++cmake_minimum_required(VERSION 3.13) + if(${CMAKE_VERSION} VERSION_LESS 3.13) + cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}) + else() +diff '--color=auto' -Naur a/tests/test_dependent_library/CMakeLists.txt b/tests/test_dependent_library/CMakeLists.txt +--- a/tests/test_dependent_library/CMakeLists.txt ++++ b/tests/test_dependent_library/CMakeLists.txt +@@ -1,5 +1,5 @@ + # This is a sample library to test integration via add_subdirectory and CMakeConfig +-cmake_minimum_required(VERSION 3.1) ++cmake_minimum_required(VERSION 3.13) + + project(test_project VERSION 0.1) + +diff '--color=auto' -Naur a/tests/test_project/CMakeLists.txt b/tests/test_project/CMakeLists.txt +--- a/tests/test_project/CMakeLists.txt ++++ b/tests/test_project/CMakeLists.txt +@@ -1,5 +1,5 @@ + # This is a sample project to test integration via add_subdirectory and CMakeConfig +-cmake_minimum_required(VERSION 3.1) ++cmake_minimum_required(VERSION 3.13) + + project(test_project VERSION 0.1) + diff --git a/sci-libs/highfive/highfive-2.8.0.ebuild b/sci-libs/highfive/highfive-2.10.1-r1.ebuild similarity index 92% rename from sci-libs/highfive/highfive-2.8.0.ebuild rename to sci-libs/highfive/highfive-2.10.1-r1.ebuild index e6d2dfe15d70..afa149505059 100644 --- a/sci-libs/highfive/highfive-2.8.0.ebuild +++ b/sci-libs/highfive/highfive-2.10.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -37,6 +37,8 @@ DEPEND=" DOCS=( {README,CHANGELOG}.md ) +PATCHES="${FILESDIR}/${PN}-2.8.0_fix_QA_cmake4_warning.patch" + src_configure() { default local mycmakeargs=( diff --git a/sci-libs/highfive/highfive-2.10.1.ebuild b/sci-libs/highfive/highfive-2.8.0-r1.ebuild similarity index 95% rename from sci-libs/highfive/highfive-2.10.1.ebuild rename to sci-libs/highfive/highfive-2.8.0-r1.ebuild index ab0876998a92..fd53ea043d94 100644 --- a/sci-libs/highfive/highfive-2.10.1.ebuild +++ b/sci-libs/highfive/highfive-2.8.0-r1.ebuild @@ -37,6 +37,8 @@ DEPEND=" DOCS=( {README,CHANGELOG}.md ) +PATCHES="${FILESDIR}/${P}_fix_QA_cmake4_warning.patch" + src_configure() { default local mycmakeargs=(
