1 Description: fix build with hunspell 1.4
2 hunspell 1.4.0 doesn't expose MAXWORDLEN anymore.
3 Author: Caolan McNamara <caolanm@redhat.com>
5 Bug: http://bugzilla.abisource.com/show_bug.cgi?id=13772
6 Bug-Debian: https://bugs.debian.org/821464
8 diff -ru enchant-1.6.0-orig/src/myspell/myspell_checker.cpp enchant-1.6.0/src/myspell/myspell_checker.cpp
9 --- enchant-1.6.0-orig/src/myspell/myspell_checker.cpp 2016-04-18 12:25:00.094614256 +0100
10 +++ enchant-1.6.0/src/myspell/myspell_checker.cpp 2016-04-18 12:26:09.108569576 +0100
11 @@ -148,6 +148,10 @@ MySpellChecker::~MySpellChecker()
12 g_iconv_close(m_translate_out);
16 +# define MAXWORDLEN 100
20 MySpellChecker::checkWord(const char *utf8Word, size_t len)