$OpenBSD: patch-src_myspell_myspell_checker_cpp,v 1.1 2017/04/25 08:46:27 ajacoutot Exp $
--- src/myspell/myspell_checker.cpp.orig	Wed Feb  8 23:24:36 2017
+++ src/myspell/myspell_checker.cpp	Tue Apr 25 10:01:58 2017
@@ -449,7 +449,7 @@ MySpellChecker::requestDictionary(const char *szLang)
 	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);
