diff options
author | 2016-07-27 08:44:39 +0200 | |
---|---|---|
committer | 2016-07-27 08:45:11 +0200 | |
commit | 362ac174a1ebbfe4514ddc06a0c733a2f2580558 (patch) | |
tree | e855ab6847fe158e0a8a034e2c5cc4098fe6ca52 /app-text/enchant/files | |
parent | x11-plugins/pidgin-skypeweb: Fix typo in SRC_URI. (diff) | |
download | gentoo-362ac174a1ebbfe4514ddc06a0c733a2f2580558.tar.gz gentoo-362ac174a1ebbfe4514ddc06a0c733a2f2580558.tar.bz2 gentoo-362ac174a1ebbfe4514ddc06a0c733a2f2580558.zip |
app-text/enchant: Fixed compilation with hunspell-1.4 (bug #583486).
Bumped to EAPI-6.
Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-text/enchant/files')
-rw-r--r-- | app-text/enchant/files/enchant-1.6.0-hunspell140_fix.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-text/enchant/files/enchant-1.6.0-hunspell140_fix.patch b/app-text/enchant/files/enchant-1.6.0-hunspell140_fix.patch new file mode 100644 index 000000000000..5d58ab7f540c --- /dev/null +++ b/app-text/enchant/files/enchant-1.6.0-hunspell140_fix.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/583486 +http://bugzilla.abisource.com/show_bug.cgi?id=13772 + +--- enchant-1.6.0/src/myspell/myspell_checker.cpp ++++ enchant-1.6.0/src/myspell/myspell_checker.cpp +@@ -148,6 +148,10 @@ + g_iconv_close(m_translate_out); + } + ++#ifndef MAXWORDLEN ++# define MAXWORDLEN 100 ++#endif ++ + bool + MySpellChecker::checkWord(const char *utf8Word, size_t len) + { |