diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2017-09-03 11:46:48 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2017-09-03 11:55:20 +0200 |
commit | 811e0de86c3424efc4ea5c5eef2f66c4290bdf0e (patch) | |
tree | 80c03dc403614fb1b344e53e2e120a4ab0ae88f9 /app-text/enchant/files | |
parent | app-text/enchant: version 1.6.0 → 1.6.1, bug #570030 (diff) | |
download | gentoo-811e0de86c3424efc4ea5c5eef2f66c4290bdf0e.tar.gz gentoo-811e0de86c3424efc4ea5c5eef2f66c4290bdf0e.tar.bz2 gentoo-811e0de86c3424efc4ea5c5eef2f66c4290bdf0e.zip |
app-text/enchant: version 1.6.1 → 2.1.0, bug #570030
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-text/enchant/files')
-rw-r--r-- | app-text/enchant/files/enchant-2.1.0-hunspell150_fix.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app-text/enchant/files/enchant-2.1.0-hunspell150_fix.patch b/app-text/enchant/files/enchant-2.1.0-hunspell150_fix.patch new file mode 100644 index 000000000000..1dac6c11ec5f --- /dev/null +++ b/app-text/enchant/files/enchant-2.1.0-hunspell150_fix.patch @@ -0,0 +1,25 @@ +From 87b36fd87d8ecc894850d82eed33f48d6c429cad Mon Sep 17 00:00:00 2001 +From: Pacho Ramos <pacho@gentoo.org> +Date: Sun, 3 Sep 2017 11:05:42 +0200 +Subject: [PATCH] Fix hunspell 1.5 support + +--- + providers/enchant_hunspell.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/providers/enchant_hunspell.cpp b/providers/enchant_hunspell.cpp +index 609f856..0bc360f 100644 +--- a/providers/enchant_hunspell.cpp ++++ b/providers/enchant_hunspell.cpp +@@ -312,7 +312,7 @@ HunspellChecker::requestDictionary(const char *szLang) + if(hunspell == NULL){ + return false; + } +- char *enc = hunspell->get_dic_encoding(); ++ const char *enc = hunspell->get_dic_encoding(); + + m_translate_in = g_iconv_open(enc, "UTF-8"); + m_translate_out = g_iconv_open("UTF-8", enc); +-- +2.14.1 + |