aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/enchant/files/patch-src_myspell_myspell__checker.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/enchant/files/patch-src_myspell_myspell__checker.cpp b/textproc/enchant/files/patch-src_myspell_myspell__checker.cpp
new file mode 100644
index 000000000000..e761637ee338
--- /dev/null
+++ b/textproc/enchant/files/patch-src_myspell_myspell__checker.cpp
@@ -0,0 +1,11 @@
+--- src/myspell/myspell_checker.cpp.orig 2010-04-01 20:53:37 UTC
++++ src/myspell/myspell_checker.cpp
+@@ -427,7 +427,7 @@ MySpellChecker::requestDictionary(const
+ if(myspell == NULL){
+ return false;
+ }
+- char *enc = myspell->get_dic_encoding();
++ const char *enc = myspell->get_dic_encoding();
+
+ m_translate_in = g_iconv_open(enc, "UTF-8");
+ m_translate_out = g_iconv_open("UTF-8", enc);