$NetBSD: patch-mozilla_extensions_spellcheck_hunspell_src_mozHunspell.cpp,v 1.1 2014/07/27 05:36:07 ryoon Exp $ --- mozilla/extensions/spellcheck/hunspell/src/mozHunspell.cpp.orig 2013-10-23 22:08:56.000000000 +0000 +++ mozilla/extensions/spellcheck/hunspell/src/mozHunspell.cpp @@ -417,6 +417,12 @@ mozHunspell::LoadDictionaryList() } } + // load system hunspell dictionaries + nsIFile* hunDir; + NS_NewNativeLocalFile(NS_LITERAL_CSTRING("@PREFIX@/share/hunspell"), + true, &hunDir); + LoadDictionariesFromDir(hunDir); + // find dictionaries from extensions requiring restart nsCOMPtr dictDirs; rv = dirSvc->Get(DICTIONARY_SEARCH_DIRECTORY_LIST,