From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1293574-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 7F1841382C5
	for <garchives@archives.gentoo.org>; Mon, 14 Jun 2021 15:08:52 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 97CF5E0B42;
	Mon, 14 Jun 2021 15:08:51 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7E45FE0B42
	for <gentoo-commits@lists.gentoo.org>; Mon, 14 Jun 2021 15:08:51 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5FD19335D35
	for <gentoo-commits@lists.gentoo.org>; Mon, 14 Jun 2021 15:08:50 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D8AC720
	for <gentoo-commits@lists.gentoo.org>; Mon, 14 Jun 2021 15:08:48 +0000 (UTC)
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org>
Message-ID: <1623683300.6ad363bb19b264c0e3405a38c1969c5bc9b259d0.juippis@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/clucene/files/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-cpp/clucene/files/clucene-2.3.3.4-fix-clang.patch
X-VCS-Directories: dev-cpp/clucene/files/
X-VCS-Committer: juippis
X-VCS-Committer-Name: Joonas Niilola
X-VCS-Revision: 6ad363bb19b264c0e3405a38c1969c5bc9b259d0
X-VCS-Branch: master
Date: Mon, 14 Jun 2021 15:08:48 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: f3379ef4-b82e-4352-a917-4d8e5a17b00f
X-Archives-Hash: a428682e6104316f1f73c066b08af2f0

commit:     6ad363bb19b264c0e3405a38c1969c5bc9b259d0
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 14 15:08:20 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jun 14 15:08:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ad363bb

dev-cpp/clucene: add the .patch file to fix clang build issue

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../clucene/files/clucene-2.3.3.4-fix-clang.patch  | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/dev-cpp/clucene/files/clucene-2.3.3.4-fix-clang.patch b/dev-cpp/clucene/files/clucene-2.3.3.4-fix-clang.patch
new file mode 100644
index 00000000000..f743fa8c448
--- /dev/null
+++ b/dev-cpp/clucene/files/clucene-2.3.3.4-fix-clang.patch
@@ -0,0 +1,35 @@
+--- /src/core/CLucene/queryParser/QueryParser.cpp.original	2018-08-02 15:11:33.157174224 +0200
++++ /src/core/CLucene/queryParser/QueryParser.cpp	2018-08-02 15:12:33.189175705 +0200
+@@ -79,7 +79,7 @@
+     _T("<RANGEEX_GOOP>")
+ };
+ 
+-const int32_t QueryParser::jj_la1_0[] = {0x180,0x180,0xe00,0xe00,0x1f69f80,0x48000,0x10000,0x1f69000,0x1348000,0x80000,0x80000,0x10000,0x18000000,0x2000000,0x18000000,0x10000,0x80000000,0x20000000,0x80000000,0x10000,0x80000,0x10000,0x1f68000};
++const int32_t QueryParser::jj_la1_0[] = {0x180,0x180,0xe00,0xe00,0x1f69f80,0x48000,0x10000,0x1f69000,0x1348000,0x80000,0x80000,0x10000,0x18000000,0x2000000,0x18000000,0x10000,(int32_t)0x80000000,0x20000000,(int32_t)0x80000000,0x10000,0x80000,0x10000,0x1f68000};
+ const int32_t QueryParser::jj_la1_1[] = {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x0,0x0,0x0,0x0};
+ 
+ struct QueryParser::JJCalls {
+--- /src/core/CLucene/queryParser/QueryParserTokenManager.cpp.original	2018-08-02 15:14:27.104178515 +0200
++++ /src/core/CLucene/queryParser/QueryParserTokenManager.cpp	2018-08-02 15:15:10.399179583 +0200
+@@ -15,9 +15,9 @@
+ 
+ CL_NS_DEF(queryParser)
+ 
+-const int64_t QueryParserTokenManager::jjbitVec2[]={0x0L, 0x0L, _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)};
++const int64_t QueryParserTokenManager::jjbitVec2[]={0x0L, 0x0L, (int64_t)_ILONGLONG(0xffffffffffffffff), (int64_t)_ILONGLONG(0xffffffffffffffff)};
+ const int64_t QueryParserTokenManager::jjbitVec0[] = {
+-	_ILONGLONG(0xfffffffffffffffe), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)
++	(int64_t)_ILONGLONG(0xfffffffffffffffe), (int64_t)_ILONGLONG(0xffffffffffffffff), (int64_t)_ILONGLONG(0xffffffffffffffff), (int64_t)_ILONGLONG(0xffffffffffffffff)
+ };
+ const int32_t QueryParserTokenManager::jjnextStates[]={
+ 		15, 17, 18, 29, 32, 23, 33, 30, 20, 21, 32, 23, 33, 31, 34, 27,
+--- /src/core/CLucene/document/DateTools.cpp.original	2018-08-02 15:20:28.903187441 +0200
++++ /src/core/CLucene/document/DateTools.cpp	2018-08-02 15:20:35.441187602 +0200
+@@ -8,6 +8,7 @@
+ 
+ #include "DateTools.h"
+ #include "CLucene/util/Misc.h"
++#include <time.h>
+ 
+ CL_NS_USE(util)
+ CL_NS_DEF(document)