clucene_core: fix build with cmake 4

Grimmauld cebc323f 03845ec2

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