summaryrefslogtreecommitdiff
path: root/dev-cpp/clucene/files
diff options
context:
space:
mode:
authorJohannes Huber <johu@gmx.de>2025-05-27 22:00:44 +0200
committerSam James <sam@gentoo.org>2025-05-28 11:04:46 +0100
commite06df280c75b0f0803954338466e5278d777f984 (patch)
tree241fe7296d7825c8e095227d484d1f23db7a9306 /dev-cpp/clucene/files
parent5880cd4e9f5854b65ff0cfc8f9402abb59db05de (diff)
downloadgentoo-e06df280c75b0f0803954338466e5278d777f984.tar.gz
gentoo-e06df280c75b0f0803954338466e5278d777f984.tar.bz2
gentoo-e06df280c75b0f0803954338466e5278d777f984.zip
dev-cpp/clucene: fix build w/ cmake 4
Closes: https://bugs.gentoo.org/951882 Signed-off-by: Johannes Huber <johu@gmx.de> Part-of: https://github.com/gentoo/gentoo/pull/42290 Closes: https://github.com/gentoo/gentoo/pull/42290 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/clucene/files')
-rw-r--r--dev-cpp/clucene/files/clucene-2.3.3.4-cmake4.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-cpp/clucene/files/clucene-2.3.3.4-cmake4.patch b/dev-cpp/clucene/files/clucene-2.3.3.4-cmake4.patch
new file mode 100644
index 000000000000..521d5a5b9262
--- /dev/null
+++ b/dev-cpp/clucene/files/clucene-2.3.3.4-cmake4.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4950ddbd..c98cab8e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -17,7 +17,7 @@ MATH(EXPR CLUCENE_INT_VERSION "(${CLUCENE_VERSION_MAJOR} * 1000000) + (${CLUCENE
+ SET(CLUCENE_VERSION "${CLUCENE_VERSION_MAJOR}.${CLUCENE_VERSION_MINOR}.${CLUCENE_VERSION_REVISION}.${CLUCENE_VERSION_PATCH}")
+
+ #CMake 2.6+ is recommended to an improved Boost module
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0 FATAL_ERROR)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.10.0 FATAL_ERROR)
+
+ if(COMMAND cmake_policy)
+ cmake_policy(SET CMP0003 NEW)