freebsd-ports/www/firefox/files/patch-bug991253
Jan Beich 80fbe46e49 www/firefox: update to 62.0
Changes:	https://www.mozilla.org/firefox/62.0/releasenotes/
PR:		229168
Security:	c96d416a-eae7-4d5d-bc84-40deca9329fb
MFH:		2018Q3
Differential Revision:	https://reviews.freebsd.org/D15913
2018-08-28 00:01:14 +00:00

17 lines
643 B
Text

--- extensions/spellcheck/hunspell/glue/mozHunspell.cpp~
+++ extensions/spellcheck/hunspell/glue/mozHunspell.cpp
@@ -336,6 +336,14 @@ mozHunspell::LoadDictionaryList(bool aNotifyChildProcesses)
}
}
+ // load system hunspell dictionaries
+ nsCOMPtr<nsIFile> hunDir;
+ NS_NewNativeLocalFile(NS_LITERAL_CSTRING("%%LOCALBASE%%/share/hunspell"),
+ true, getter_AddRefs(hunDir));
+ if (hunDir) {
+ LoadDictionariesFromDir(hunDir);
+ }
+
// find dictionaries from restartless extensions
for (int32_t i = 0; i < mDynamicDirectories.Count(); i++) {
LoadDictionariesFromDir(mDynamicDirectories[i]);