diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-06 19:30:30 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-06 19:30:55 +0000 |
commit | e8810f4ae37e7d286d1dedf7fec46bc19bf50119 (patch) | |
tree | d35b7a4ace927374b4b525cec33d3833df1dd85a /main/enchant/hunspell-build-fix.patch | |
parent | c27a88b02c0cc1ab4fb9e924cd98f4149ec4d488 (diff) | |
download | aports-e8810f4ae37e7d286d1dedf7fec46bc19bf50119.tar.bz2 aports-e8810f4ae37e7d286d1dedf7fec46bc19bf50119.tar.xz |
main/enchant: fix build with hunspell 1.4
Diffstat (limited to 'main/enchant/hunspell-build-fix.patch')
-rw-r--r-- | main/enchant/hunspell-build-fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/main/enchant/hunspell-build-fix.patch b/main/enchant/hunspell-build-fix.patch new file mode 100644 index 0000000000..0ecdb24b30 --- /dev/null +++ b/main/enchant/hunspell-build-fix.patch @@ -0,0 +1,14 @@ +diff -ru enchant-1.6.0-orig/src/myspell/myspell_checker.cpp enchant-1.6.0/src/myspell/myspell_checker.cpp +--- enchant-1.6.0-orig/src/myspell/myspell_checker.cpp 2016-04-18 12:25:00.094614256 +0100 ++++ enchant-1.6.0/src/myspell/myspell_checker.cpp 2016-04-18 12:26:09.108569576 +0100 +@@ -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) + { |