pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/libclucene
Module Name: pkgsrc
Committed By: jperkin
Date: Fri Jan 26 15:27:04 UTC 2018
Modified Files:
pkgsrc/textproc/libclucene: distinfo
Added Files:
pkgsrc/textproc/libclucene/patches:
patch-src_core_CLucene_queryParser_QueryParser.cpp
patch-src_core_CLucene_queryParser_QueryParser.h
patch-src_core_CLucene_queryParser_QueryParserTokenManager.cpp
patch-src_core_CLucene_queryParser_QueryParserTokenManager.h
Log Message:
libclucene: Fix -Wc++11-narrowing.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/libclucene/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParser.cpp \
pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParser.h \
pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParserTokenManager.cpp \
pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParserTokenManager.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/libclucene/distinfo
diff -u pkgsrc/textproc/libclucene/distinfo:1.8 pkgsrc/textproc/libclucene/distinfo:1.9
--- pkgsrc/textproc/libclucene/distinfo:1.8 Wed Nov 4 01:59:38 2015
+++ pkgsrc/textproc/libclucene/distinfo Fri Jan 26 15:27:04 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2015/11/04 01:59:38 agc Exp $
+$NetBSD: distinfo,v 1.9 2018/01/26 15:27:04 jperkin Exp $
SHA1 (clucene-core-2.3.3.4.tar.gz) = 76d6788e747e78abb5abf8eaad78d3342da5f2a4
RMD160 (clucene-core-2.3.3.4.tar.gz) = 5acfc9c8acd167b3684cfc731a60fd9c5465cc9b
@@ -6,5 +6,9 @@ SHA512 (clucene-core-2.3.3.4.tar.gz) = 1
Size (clucene-core-2.3.3.4.tar.gz) = 2241498 bytes
SHA1 (patch-CMakeLists.txt) = 1c127bdc90a9f7b3c0f3debe46a9681f3b85df9a
SHA1 (patch-src_contribs-lib_CMakeLists.txt) = c4cf7505474368a7a7b4b826c5d0a7df1cbc2a63
+SHA1 (patch-src_core_CLucene_queryParser_QueryParser.cpp) = 32dc9691fce2c5dfc086d897feb9ee4b7cb381d8
+SHA1 (patch-src_core_CLucene_queryParser_QueryParser.h) = 28457f254ee1aa63362482d43c0f1868fb846eb1
+SHA1 (patch-src_core_CLucene_queryParser_QueryParserTokenManager.cpp) = 0ee63584fc8b60b20ec2275d4f68f0909793df5d
+SHA1 (patch-src_core_CLucene_queryParser_QueryParserTokenManager.h) = 6934ad5e1052850b2aed50d91260bd46801e6274
SHA1 (patch-src_shared_CLucene_LuceneThreads.h) = a08f4ccc70150510650ba82c64b1dff8495b1f10
SHA1 (patch-src_shared_CLucene_config_repl__tchar.h) = 465537d5ee226d9831df2da8d87f3dbc5e364d5f
Added files:
Index: pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParser.cpp
diff -u /dev/null pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParser.cpp:1.1
--- /dev/null Fri Jan 26 15:27:04 2018
+++ pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParser.cpp Fri Jan 26 15:27:04 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_core_CLucene_queryParser_QueryParser.cpp,v 1.1 2018/01/26 15:27:04 jperkin Exp $
+
+Fix -Wc++11-narrowing.
+
+--- src/core/CLucene/queryParser/QueryParser.cpp.orig 2011-03-17 00:21:07.000000000 +0000
++++ src/core/CLucene/queryParser/QueryParser.cpp
+@@ -79,8 +79,8 @@ const TCHAR* QueryParserConstants::token
+ _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_1[] = {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x0,0x0,0x0,0x0};
++const uint32_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 uint32_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 {
+ public:
Index: pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParser.h
diff -u /dev/null pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParser.h:1.1
--- /dev/null Fri Jan 26 15:27:04 2018
+++ pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParser.h Fri Jan 26 15:27:04 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_core_CLucene_queryParser_QueryParser.h,v 1.1 2018/01/26 15:27:04 jperkin Exp $
+
+Fix -Wc++11-narrowing.
+
+--- src/core/CLucene/queryParser/QueryParser.h.orig 2011-03-17 00:21:07.000000000 +0000
++++ src/core/CLucene/queryParser/QueryParser.h
+@@ -477,8 +477,8 @@ private:
+ bool jj_semLA;
+ int32_t jj_gen;
+ int32_t jj_la1[23];
+- static const int32_t jj_la1_0[];
+- static const int32_t jj_la1_1[];
++ static const uint32_t jj_la1_0[];
++ static const uint32_t jj_la1_1[];
+ JJCalls* jj_2_rtns;
+ bool jj_rescan;
+ int32_t jj_gc;
Index: pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParserTokenManager.cpp
diff -u /dev/null pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParserTokenManager.cpp:1.1
--- /dev/null Fri Jan 26 15:27:04 2018
+++ pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParserTokenManager.cpp Fri Jan 26 15:27:04 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_core_CLucene_queryParser_QueryParserTokenManager.cpp,v 1.1 2018/01/26 15:27:04 jperkin Exp $
+
+Fix -Wc++11-narrowing.
+
+--- src/core/CLucene/queryParser/QueryParserTokenManager.cpp.orig 2011-03-17 00:21:07.000000000 +0000
++++ src/core/CLucene/queryParser/QueryParserTokenManager.cpp
+@@ -15,8 +15,8 @@
+
+ CL_NS_DEF(queryParser)
+
+-const int64_t QueryParserTokenManager::jjbitVec2[]={0x0L, 0x0L, _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)};
+-const int64_t QueryParserTokenManager::jjbitVec0[] = {
++const uint64_t QueryParserTokenManager::jjbitVec2[]={0x0L, 0x0L, _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)};
++const uint64_t QueryParserTokenManager::jjbitVec0[] = {
+ _ILONGLONG(0xfffffffffffffffe), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)
+ };
+ const int32_t QueryParserTokenManager::jjnextStates[]={
Index: pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParserTokenManager.h
diff -u /dev/null pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParserTokenManager.h:1.1
--- /dev/null Fri Jan 26 15:27:04 2018
+++ pkgsrc/textproc/libclucene/patches/patch-src_core_CLucene_queryParser_QueryParserTokenManager.h Fri Jan 26 15:27:04 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_core_CLucene_queryParser_QueryParserTokenManager.h,v 1.1 2018/01/26 15:27:04 jperkin Exp $
+
+Fix -Wc++11-narrowing.
+
+--- src/core/CLucene/queryParser/QueryParserTokenManager.h.orig 2011-03-17 00:21:07.000000000 +0000
++++ src/core/CLucene/queryParser/QueryParserTokenManager.h
+@@ -35,8 +35,8 @@ private:
+ void jjCheckNAddStates(int32_t start, const int32_t end);
+ void jjCheckNAddStates(const int32_t start);
+
+- static const int64_t jjbitVec0[];
+- static const int64_t jjbitVec2[];
++ static const uint64_t jjbitVec0[];
++ static const uint64_t jjbitVec2[];
+
+ int32_t jjMoveNfa_3(const int32_t startState, int32_t curPos);
+
Home |
Main Index |
Thread Index |
Old Index