In file included from screens/browser.cpp:27:
In file included from ./screens/browser.h:26:
./regex_filter.h:45:22: error: unknown type name 'UnicodeString'; did you mean 'icu::UnicodeString'?
static void convert(UnicodeString &s)
^~~~~~~~~~~~~
icu::UnicodeString
/usr/local/include/unicode/unistr.h:286:20: note: 'icu::UnicodeString' declared here
class U_COMMON_API UnicodeString : public Replaceable
^
In file included from screens/browser.cpp:27:
In file included from ./screens/browser.h:26:
./regex_filter.h:61:9: error: unknown type name 'Transliterator'; did you mean 'UTransliterator'?
static Transliterator *m_converter;
^~~~~~~~~~~~~~
UTransliterator
/usr/local/include/unicode/utrans.h:70:15: note: 'UTransliterator' declared here
typedef void* UTransliterator;
^
In file included from screens/browser.cpp:27:
In file included from ./screens/browser.h:26:
./regex_filter.h:49:4: error: unknown type name 'ErrorCode'; did you mean 'UErrorCode'?
ErrorCode result;
^~~~~~~~~
UErrorCode
/usr/local/include/unicode/utypes.h:663:3: note: 'UErrorCode' declared here
} UErrorCode;
^
In file included from screens/browser.cpp:27:
In file included from ./screens/browser.h:26:
./regex_filter.h:50:18: error: use of undeclared identifier 'Transliterator'; did you mean 'icu::Transliterator'?
m_converter = Transliterator::createInstance(
^~~~~~~~~~~~~~
icu::Transliterator
/usr/local/include/unicode/translit.h:243:18: note: 'icu::Transliterator' declared here
class U_I18N_API Transliterator : public UObject {
^
In file included from screens/browser.cpp:27:
In file included from ./screens/browser.h:26:
./regex_filter.h:50:18: error: assigning to 'UTransliterator *' (aka 'void **') from incompatible type 'icu::Transliterator *'
m_converter = Transliterator::createInstance(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./regex_filter.h:52:14: error: member reference base type 'UErrorCode' is not a structure or union
if (result.isFailure())
~~~~~~^~~~~~~~~~
./regex_filter.h:55:26: error: member reference base type 'UErrorCode' is not a structure or union
+ std::string(result.errorName()));
~~~~~~^~~~~~~~~~
./regex_filter.h:57:14: error: member reference base type 'UTransliterator' (aka 'void *') is not a structure or union
m_converter->transliterate(s);
~~~~~~~~~~~^ ~~~~~~~~~~~~~
./regex_filter.h:64:1: error: unknown type name 'Transliterator'; did you mean 'UTransliterator'?
Transliterator *StripDiacritics::m_converter;
^~~~~~~~~~~~~~
UTransliterator
/usr/local/include/unicode/utrans.h:70:15: note: 'UTransliterator' declared here
typedef void* UTransliterator;
^
In file included from screens/browser.cpp:27:
In file included from ./screens/browser.h:26:
./regex_filter.h:102:14: error: use of undeclared identifier 'UnicodeString'; did you mean 'icu::UnicodeString'?
auto us = UnicodeString::fromUTF8(
^~~~~~~~~~~~~
icu::UnicodeString
/usr/local/include/unicode/unistr.h:286:20: note: 'icu::UnicodeString' declared here
class U_COMMON_API UnicodeString : public Replaceable
^
In file included from screens/browser.cpp:27:
In file included from ./screens/browser.h:26:
./regex_filter.h:103:5: error: use of undeclared identifier 'StringPiece'
StringPiece(convertString<char, CharT>::apply(s)));
^
screens/browser.cpp:737:16: note: in instantiation of function template specialization 'Regex::search<char>' requested here
return Regex::search(itemToString(item), rx, Config.ignore_diacritics);
^
https://ssl.icu-project.org/trac/changeset/40705
PR: 227042
Reported by: antoine (via exp-run)
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
--disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU. The code wanted to use BYTE_ORDER
defined in machine/endian.h, but this isn't visible because ICU is
compiled with _XOPEN_SOURCE. Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
a C++11 runtime library now. Add this to all ports that depend on it
so their executables load the right libstdc++.so on FreeBSD 9.
PR: 205120
Exp-run by: antoine
Approved by: portmgr (antoine)
- Fetching lyrics from lyricwiki.org was fixed.
- Configure script now continues without errors if ICU library was not found.
PR: 208920
Submitted by: yamagi@yamagi.org (maintainer)
- update to 0.6.4
- assign maintainership submitter
PR: 199990
Submitted by: yamagi@yamagi.org
Approved by: maintainer timeout (2 weeks, third time in a row)
- Remove broken MASTER_SITES
- Force a C++11 compiler and stdlib
- Add dependency to devel/boost-libs
- Force BOOST_LIB_SUFFIX to be empty (required for configure)
- Enable UTF8 by default (most music collections nowadays have files with utf-8
encoded names and tags)
- Enable TAGLIB by default (taglib is nice to have but adds a dependecy to the
rather small audio/taglib)
- Do not install ${DOCSDIR}/keys since it was removed
- Install ${DOCSDIR}/ncmpcpp-completion.bash and ${DOCSDIR}/bindings
- Update pkg-message
- Remove files/patch-src__visualizer.h since it's not needed any more
PR: 195070
Differential Revision: https://reviews.freebsd.org/D1325
Submitted by: yamagi@yamagi.org
Approved by: maintainer timeout (4 weeks)
Approved by: koobs (mentor)