Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > b55079dc055c34bcf7488426d3a9b3db > files > 1

enchant-1.6.0-8.mga3.src.rpm

diff -Naur enchant-1.6.0.orig/src/myspell/myspell_checker.cpp enchant-1.6.0/src/myspell/myspell_checker.cpp
--- enchant-1.6.0.orig/src/myspell/myspell_checker.cpp	2010-04-01 22:53:37.000000000 +0200
+++ enchant-1.6.0/src/myspell/myspell_checker.cpp	2011-12-19 23:07:37.000000000 +0100
@@ -276,6 +276,9 @@
 	dirs = g_slist_append (dirs, g_strdup (ENCHANT_MYSPELL_DICT_DIR));
 #endif
 
+	dirs = g_slist_append (dirs, g_strdup ("/usr/share/myspell"));
+	dirs = g_slist_append (dirs, g_strdup ("/usr/share/dict/ooo"));
+
 #if defined(_WIN32)
 	char* open_office_dicts_dir = myspell_checker_get_open_office_dicts_dir ();
 	if (open_office_dicts_dir)