diff options
Diffstat (limited to 'www/libxul/files/patch-bug991253')
-rw-r--r-- | www/libxul/files/patch-bug991253 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www/libxul/files/patch-bug991253 b/www/libxul/files/patch-bug991253 new file mode 100644 index 000000000000..161feb2ca7b5 --- /dev/null +++ b/www/libxul/files/patch-bug991253 @@ -0,0 +1,15 @@ +--- extensions/spellcheck/hunspell/src/mozHunspell.cpp~ ++++ extensions/spellcheck/hunspell/src/mozHunspell.cpp +@@ -400,6 +400,12 @@ mozHunspell::LoadDictionaryList() + } + } + ++ // load system hunspell dictionaries ++ nsIFile* hunDir; ++ NS_NewNativeLocalFile(NS_LITERAL_CSTRING("%%LOCALBASE%%/share/hunspell"), ++ true, &hunDir); ++ LoadDictionariesFromDir(hunDir); ++ + // find dictionaries from extensions requiring restart + nsCOMPtr<nsISimpleEnumerator> dictDirs; + rv = dirSvc->Get(DICTIONARY_SEARCH_DIRECTORY_LIST, |