From bbc1170fe2b7397582ccedf95dc8eeb8eed629df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= Date: Sat, 27 Sep 2025 14:55:56 +0200 Subject: dev-cpp/lucene++: fixes for boost-1.89, cmake4, gtest & gcc-15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/957220 Closes: https://bugs.gentoo.org/963333 Signed-off-by: Holger Hoffstätte Part-of: https://github.com/gentoo/gentoo/pull/43958 Closes: https://github.com/gentoo/gentoo/pull/43958 Signed-off-by: Andreas Sturmlechner --- dev-cpp/lucene++/files/lucene++-3.0.9-cmake4.patch | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 dev-cpp/lucene++/files/lucene++-3.0.9-cmake4.patch (limited to 'dev-cpp/lucene++/files/lucene++-3.0.9-cmake4.patch') diff --git a/dev-cpp/lucene++/files/lucene++-3.0.9-cmake4.patch b/dev-cpp/lucene++/files/lucene++-3.0.9-cmake4.patch new file mode 100644 index 000000000000..4e4805fc852d --- /dev/null +++ b/dev-cpp/lucene++/files/lucene++-3.0.9-cmake4.patch @@ -0,0 +1,62 @@ +From: https://github.com/luceneplusplus/LucenePlusPlus/pull/218 + +From: Gianfranco Costamagna +Date: Mon, 8 Sep 2025 15:05:10 +0200 +Subject: [PATCH] Bump minimum required cmake version to 3.10, for new cmake 4 + compatibility fix + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -2,7 +2,7 @@ + # init + #################################### + +-cmake_minimum_required(VERSION 3.5) ++cmake_minimum_required(VERSION 3.10) + + project(lucene++) + +--- a/cmake/cotire.cmake ++++ b/cmake/cotire.cmake +@@ -37,7 +37,7 @@ set(__COTIRE_INCLUDED TRUE) + if (NOT CMAKE_SCRIPT_MODE_FILE) + cmake_policy(PUSH) + endif() +-cmake_minimum_required(VERSION 2.8.12) ++cmake_minimum_required(VERSION 3.10) + if (NOT CMAKE_SCRIPT_MODE_FILE) + cmake_policy(POP) + endif() +--- a/src/test/gtest/CMakeLists.txt ++++ b/src/test/gtest/CMakeLists.txt +@@ -1,7 +1,7 @@ + # Note: CMake support is community-based. The maintainers do not use CMake + # internally. + +-cmake_minimum_required(VERSION 2.8.8) ++cmake_minimum_required(VERSION 3.10) + + if (POLICY CMP0048) + cmake_policy(SET CMP0048 NEW) +--- a/src/test/gtest/googlemock/CMakeLists.txt ++++ b/src/test/gtest/googlemock/CMakeLists.txt +@@ -42,7 +42,7 @@ else() + cmake_policy(SET CMP0048 NEW) + project(gmock VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C) + endif() +-cmake_minimum_required(VERSION 2.6.4) ++cmake_minimum_required(VERSION 3.10) + + if (COMMAND set_up_hermetic_build) + set_up_hermetic_build() +--- a/src/test/gtest/googletest/CMakeLists.txt ++++ b/src/test/gtest/googletest/CMakeLists.txt +@@ -53,7 +53,7 @@ else() + cmake_policy(SET CMP0048 NEW) + project(gtest VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C) + endif() +-cmake_minimum_required(VERSION 2.6.4) ++cmake_minimum_required(VERSION 3.10) + + if (POLICY CMP0063) # Visibility + cmake_policy(SET CMP0063 NEW) -- cgit v1.2.3