From c308de0164ec299c9914722e02f9e6176f6c5b89 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 27 Feb 2015 14:42:51 +0000 Subject: - 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 --- www/firefox-esr/files/patch-bug991253 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'www/firefox-esr/files/patch-bug991253') diff --git a/www/firefox-esr/files/patch-bug991253 b/www/firefox-esr/files/patch-bug991253 index 161feb2ca7b5..73d71610ab03 100644 --- a/www/firefox-esr/files/patch-bug991253 +++ b/www/firefox-esr/files/patch-bug991253 @@ -1,14 +1,16 @@ --- extensions/spellcheck/hunspell/src/mozHunspell.cpp~ +++ extensions/spellcheck/hunspell/src/mozHunspell.cpp -@@ -400,6 +400,12 @@ mozHunspell::LoadDictionaryList() +@@ -400,6 +400,14 @@ mozHunspell::LoadDictionaryList(bool aNo } } + // load system hunspell dictionaries -+ nsIFile* hunDir; ++ nsCOMPtr hunDir; + NS_NewNativeLocalFile(NS_LITERAL_CSTRING("%%LOCALBASE%%/share/hunspell"), -+ true, &hunDir); -+ LoadDictionariesFromDir(hunDir); ++ true, getter_AddRefs(hunDir)); ++ if (hunDir) { ++ LoadDictionariesFromDir(hunDir); ++ } + // find dictionaries from extensions requiring restart nsCOMPtr dictDirs; -- cgit v1.2.3