summaryrefslogtreecommitdiff
path: root/firefox-locale-debug.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-04-06 23:07:31 +0200
committerMartin Stransky <stransky@redhat.com>2020-04-06 23:07:31 +0200
commit96352c55721a8fd63021212c02511a97e17d0acf (patch)
treec77aa1c019972c656bfb7f653b3c91100a4b11ff /firefox-locale-debug.patch
parentAdded fix for mozbz#1627469 (diff)
downloadlibrewolf-fedora-ff-96352c55721a8fd63021212c02511a97e17d0acf.tar.gz
librewolf-fedora-ff-96352c55721a8fd63021212c02511a97e17d0acf.tar.bz2
librewolf-fedora-ff-96352c55721a8fd63021212c02511a97e17d0acf.zip
Updated to 75.0
Diffstat (limited to 'firefox-locale-debug.patch')
-rw-r--r--firefox-locale-debug.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/firefox-locale-debug.patch b/firefox-locale-debug.patch
index 0a481cb..35de02f 100644
--- a/firefox-locale-debug.patch
+++ b/firefox-locale-debug.patch
@@ -1,11 +1,12 @@
-diff -up firefox-63.0.1/intl/locale/LocaleService.cpp.old firefox-63.0.1/intl/locale/LocaleService.cpp
---- firefox-63.0.1/intl/locale/LocaleService.cpp.old 2018-11-14 13:34:16.338285161 +0100
-+++ firefox-63.0.1/intl/locale/LocaleService.cpp 2018-11-14 13:34:21.438270308 +0100
-@@ -708,7 +708,6 @@ LocaleService::GetDefaultLocale(nsACStri
+diff -up firefox-75.0/intl/locale/LocaleService.cpp.locale-debug firefox-75.0/intl/locale/LocaleService.cpp
+--- firefox-75.0/intl/locale/LocaleService.cpp.locale-debug 2020-04-06 22:42:20.196799809 +0200
++++ firefox-75.0/intl/locale/LocaleService.cpp 2020-04-06 22:43:02.522530317 +0200
+@@ -372,8 +372,6 @@ LocaleService::GetDefaultLocale(nsACStri
+ // just use our hard-coded default below.
GetGREFileContents("update.locale", &locale);
locale.Trim(" \t\n\r");
- // This should never be empty.
+- // This should never be empty.
- MOZ_ASSERT(!locale.IsEmpty());
- if (SanitizeForBCP47(locale, true)) {
+ if (CanonicalizeLanguageId(locale)) {
mDefaultLocale.Assign(locale);
}
bgstack15