ports/mail/thunderbird/files/patch-bug991253
Jan Beich c308de0164 - Update Firefox to 36.0
- Update Firefox ESR to 31.5.0
- Update Thunderbird to 31.5.0
- Update libxul to 31.5.0
- Check if NS_NewNativeLocalFile() succeeds before using [1]
- Remove DTRACE and GIO descriptions after r377838 and r314893
- bsd.gecko.mk: Prune conditionals for files removed 4 months ago

Changes:	https://www.mozilla.org/firefox/36.0/releasenotes/
Obtained from:	PkgSrc [1]
MFH:		2015Q1
X-MFH-With:	r377953, r378253, r379485, r378529
Security:	https://vuxml.freebsd.org/freebsd/99029172-8253-407d-9d8b-2cfeab9abf81.html
2015-02-27 14:42:51 +00:00

17 lines
624 B
Text

--- mozilla/extensions/spellcheck/hunspell/src/mozHunspell.cpp~
+++ mozilla/extensions/spellcheck/hunspell/src/mozHunspell.cpp
@@ -400,6 +400,14 @@ mozHunspell::LoadDictionaryList(bool aNo
}
}
+ // 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 extensions requiring restart
nsCOMPtr<nsISimpleEnumerator> dictDirs;
rv = dirSvc->Get(DICTIONARY_SEARCH_DIRECTORY_LIST,