File: gcc12.patch

package info (click to toggle)
clucene-core 2.3.3.4%2Bdfsg-1.1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 7,944 kB
  • sloc: cpp: 70,728; ansic: 39,655; sh: 338; makefile: 17; php: 5
file content (23 lines) | stat: -rw-r--r-- 632 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: =?utf-8?b?IkjDpXZhcmQgRi4gQWFzZW4i?= <havard.f.aasen@pfft.no>
Date: Sat, 30 Jul 2022 23:37:39 +0200
Subject: Include ctime header

Bug-Debian: https://bugs.debian.org/1016219
Forwarded: no
---
 src/core/CLucene/document/DateTools.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/core/CLucene/document/DateTools.cpp b/src/core/CLucene/document/DateTools.cpp
index f99ab25..61e3c6a 100644
--- a/src/core/CLucene/document/DateTools.cpp
+++ b/src/core/CLucene/document/DateTools.cpp
@@ -9,6 +9,8 @@
 #include "DateTools.h"
 #include "CLucene/util/Misc.h"
 
+#include <ctime>
+
 CL_NS_USE(util)
 CL_NS_DEF(document)