guix/gnu/packages/patches/clucene-gcc-14.patch
Janneke Nieuwenhuizen 7d48f27f56
gnu: clucene: Fix build with gcc-14.
* gnu/packages/patches/clucene-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/rdf.scm (clucene)[source]: Use it.

Change-Id: Ief8de0cb52480dccdbcc1ac45c33a8767fdd4211
2025-01-06 13:42:44 +01:00

13 lines
383 B
Diff

Upstream-status: Not presented upstream.
--- clucene-core-2.3.3.4.orig/src/core/CLucene/document/DateTools.cpp 1970-01-01 01:00:01.000000000 +0100
+++ clucene-core-2.3.3.4/src/core/CLucene/document/DateTools.cpp 2025-01-01 17:41:36.055237798 +0100
@@ -9,6 +9,8 @@
#include "DateTools.h"
#include "CLucene/util/Misc.h"
+#include <ctime>
+
CL_NS_USE(util)
CL_NS_DEF(document)