diff --git a/recipes-support/clucene/clucene-core_2.3.3.4.bb b/recipes-support/clucene/clucene-core_2.3.3.4.bb index f8f5b00..b6591c2 100644 --- a/recipes-support/clucene/clucene-core_2.3.3.4.bb +++ b/recipes-support/clucene/clucene-core_2.3.3.4.bb @@ -13,6 +13,7 @@ SRC_URI = " \ file://0003-align-pkg-config.patch \ file://0004-fix-location-s-for-our-cmake-config.patch \ file://0005-install-contribs-lib.patch \ + file://0006-Fix-build-with-glibc-2.36.patch \ " SRC_URI[md5sum] = "48d647fbd8ef8889e5a7f422c1bfda94" SRC_URI[sha256sum] = "ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab" diff --git a/recipes-support/clucene/files/0006-Fix-build-with-glibc-2.36.patch b/recipes-support/clucene/files/0006-Fix-build-with-glibc-2.36.patch new file mode 100644 index 0000000..a12ed8e --- /dev/null +++ b/recipes-support/clucene/files/0006-Fix-build-with-glibc-2.36.patch @@ -0,0 +1,28 @@ +From 37dff3758407e74cc092008a8a2aeacc22c7e25d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Wed, 21 Sep 2022 22:59:46 +0200 +Subject: [PATCH] Fix build with glibc 2.36 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Andreas Müller +--- + src/core/CLucene/document/DateTools.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/core/CLucene/document/DateTools.cpp b/src/core/CLucene/document/DateTools.cpp +index f99ab25..46e6fa1 100644 +--- a/src/core/CLucene/document/DateTools.cpp ++++ b/src/core/CLucene/document/DateTools.cpp +@@ -8,6 +8,7 @@ + + #include "DateTools.h" + #include "CLucene/util/Misc.h" ++#include + + CL_NS_USE(util) + CL_NS_DEF(document) +-- +2.35.3 +