clucene_core: fix build with cmake 4

Grimmauld cebc323f 03845ec2

Changed files
+6
pkgs
development
libraries
clucene-core
+6
pkgs/development/libraries/clucene-core/2.x.nix
···
# required for darwin and linux-musl
./pthread-include.patch
+
+
# cmake 4 support
+
(fetchpatch {
+
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-cpp/clucene/files/clucene-2.3.3.4-cmake4.patch?id=e06df280c75b0f0803954338466e5278d777f984";
+
hash = "sha256-e0u6J91bnuy24hIrSl+Ap5Xwds/nzzGiWpzskwaGx9o=";
+
})
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
./fix-darwin.patch