]> git.pld-linux.org Git - packages/enchant.git/blame - hunspell-1.4.patch
drop applespell logic to avoid libtool confusion
[packages/enchant.git] / hunspell-1.4.patch
CommitLineData
91642ef0
JR
1Description: fix build with hunspell 1.4
2 hunspell 1.4.0 doesn't expose MAXWORDLEN anymore.
3Author: Caolan McNamara <caolanm@redhat.com>
4Origin: upstream bug
5Bug: http://bugzilla.abisource.com/show_bug.cgi?id=13772
6Bug-Debian: https://bugs.debian.org/821464
7
8diff -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);
13 }
14
15+#ifndef MAXWORDLEN
16+# define MAXWORDLEN 100
17+#endif
18+
19 bool
20 MySpellChecker::checkWord(const char *utf8Word, size_t len)
21 {
This page took 0.06573 seconds and 4 git commands to generate.