forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
Lars Wendler
committed
Jul 27, 2016
1 parent
faac97b
commit 362ac17
Showing
2 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
app-text/enchant/files/enchant-1.6.0-hunspell140_fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
{ |