Index: textproc/qt4-clucene/Makefile =================================================================== --- textproc/qt4-clucene/Makefile +++ textproc/qt4-clucene/Makefile @@ -3,7 +3,7 @@ PORTNAME= clucene DISTVERSION= ${QT4_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc PKGNAMEPREFIX= qt4- Index: textproc/qt4-clucene/files/patch-src_3rdparty_clucene_src_CLucene_queryParser_Lexer.cpp =================================================================== --- /dev/null +++ textproc/qt4-clucene/files/patch-src_3rdparty_clucene_src_CLucene_queryParser_Lexer.cpp @@ -0,0 +1,11 @@ +--- src/3rdparty/clucene/src/CLucene/queryParser/Lexer.cpp.orig 2018-01-19 16:28:34 UTC ++++ src/3rdparty/clucene/src/CLucene/queryParser/Lexer.cpp +@@ -117,7 +117,7 @@ bool Lexer::GetNextToken(QueryToken* tok + if( _istspace(ch)!=0 ) { + continue; + } +- TCHAR buf[2] = {ch,'\0'}; ++ TCHAR buf[2] = {static_cast(ch),'\0'}; + switch(ch) { + case '+': + token->set(buf, QueryToken::PLUS); Index: textproc/qt4-clucene/files/patch-src__3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp =================================================================== --- textproc/qt4-clucene/files/patch-src__3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp +++ textproc/qt4-clucene/files/patch-src__3rdparty__clucene__src__CLucene__search__FieldCacheImpl.cpp @@ -1,11 +0,0 @@ ---- src/3rdparty/clucene/src/CLucene/search/FieldCacheImpl.cpp~ -+++ src/3rdparty/clucene/src/CLucene/search/FieldCacheImpl.cpp -@@ -11,6 +11,8 @@ CL_NS_USE(util) - CL_NS_USE(index) - CL_NS_DEF(search) - -+using ::wcschr; -+ - FieldCacheImpl::FieldCacheImpl(): - cache(false,true){ - }