| Summary: | textproc/sigil: fails to build with hunspell 1.5 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
| Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | Keywords: | needs-patch |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
| Bug Depends on: | |||
| Bug Blocks: | 214837 | ||
Fixed in Hunspell 1.5.1. |
src/Misc/SpellCheck.cpp:217:28: error: no matching member function for call to 'toUnicode' m_wordchars = m_codec->toUnicode(m_hunspell->get_wordchars()); ~~~~~~~~~^~~~~~~~~ /usr/local/include/qt5/QtCore/qtextcodec.h:78:13: note: candidate function not viable: no known conversion from 'const std::string' (aka 'const basic_string<char, char_traits<char>, allocator<char> >') to 'const QByteArray' for 1st argument QString toUnicode(const QByteArray&) const; ^ /usr/local/include/qt5/QtCore/qtextcodec.h:79:13: note: candidate function not viable: no known conversion from 'const std::string' (aka 'const basic_string<char, char_traits<char>, allocator<char> >') to 'const char *' for 1st argument QString toUnicode(const char* chars) const; ^ /usr/local/include/qt5/QtCore/qtextcodec.h:102:13: note: candidate function not viable: requires at least 2 arguments, but 1 was provided QString toUnicode(const char *in, int length, ConverterState *state = Q_NULLPTR) const ^ https://github.com/Sigil-Ebook/Sigil/issues/261