mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-cpp/clucene: fix building w/ clang and libc++
Signed-off-by: Denis Pronin <dannftk@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/14730 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
committed by
Michał Górny
parent
9aba72a89b
commit
8be274041e
@@ -33,6 +33,7 @@ PATCHES=(
|
||||
"${FILESDIR}/${P}-contrib.patch"
|
||||
"${FILESDIR}/${P}-pkgconfig.patch"
|
||||
"${FILESDIR}/${P}-gcc6.patch"
|
||||
"${FILESDIR}/${P}-gmtime.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
12
dev-cpp/clucene/files/clucene-2.3.3.4-gmtime.patch
Normal file
12
dev-cpp/clucene/files/clucene-2.3.3.4-gmtime.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -Naur clucene-core-2.3.3.4/src/core/CLucene/document/DateTools.cpp clucene-core-2.3.3.4.new/src/core/CLucene/document/DateTools.cpp
|
||||
--- clucene-core-2.3.3.4/src/core/CLucene/document/DateTools.cpp 2011-03-17 03:21:07.000000000 +0300
|
||||
+++ clucene-core-2.3.3.4.new/src/core/CLucene/document/DateTools.cpp 2020-02-21 15:20:17.382575302 +0300
|
||||
@@ -9,6 +9,8 @@
|
||||
#include "DateTools.h"
|
||||
#include "CLucene/util/Misc.h"
|
||||
|
||||
+#include <ctime>
|
||||
+
|
||||
CL_NS_USE(util)
|
||||
CL_NS_DEF(document)
|
||||
|
||||
Reference in New Issue
Block a user