Bug 214845 - textproc/sigil: fails to build with hunspell 1.5
Summary: textproc/sigil: fails to build with hunspell 1.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-patch
Depends on:
Blocks: 214837
  Show dependency treegraph
 
Reported: 2016-11-26 10:35 UTC by Jan Beich
Modified: 2016-11-27 19:41 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2016-11-26 10:35:53 UTC
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
Comment 1 Jan Beich freebsd_committer freebsd_triage 2016-11-27 19:41:35 UTC
Fixed in Hunspell 1.5.1.