diff options
author | Martin Stransky <stransky@redhat.com> | 2020-08-18 17:22:12 +0200 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2020-08-18 17:22:12 +0200 |
commit | dced7c2e45db854be4905678075a3717fb96c381 (patch) | |
tree | 9c9fbcc10cdfe1553ff2e3a8939f8d18e36c580f /mozilla-1170092.patch | |
parent | patch cleanup (diff) | |
download | librewolf-fedora-ff-dced7c2e45db854be4905678075a3717fb96c381.tar.gz librewolf-fedora-ff-dced7c2e45db854be4905678075a3717fb96c381.tar.bz2 librewolf-fedora-ff-dced7c2e45db854be4905678075a3717fb96c381.zip |
Build fixes - spec, patches
Diffstat (limited to 'mozilla-1170092.patch')
-rw-r--r-- | mozilla-1170092.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mozilla-1170092.patch b/mozilla-1170092.patch index bb77414..49b7b49 100644 --- a/mozilla-1170092.patch +++ b/mozilla-1170092.patch @@ -12,7 +12,7 @@ diff -up firefox-75.0/extensions/pref/autoconfig/src/nsReadConfig.cpp.1170092 fi + getter_AddRefs(jsFile)); + NS_ENSURE_SUCCESS(rv, rv); + -+ rv = jsFile->AppendNative(NS_LITERAL_CSTRING("pref")); ++ rv = jsFile->AppendNative(nsLiteralCString("pref")); + NS_ENSURE_SUCCESS(rv, rv); + rv = jsFile->AppendNative(nsDependentCString(aFileName)); + NS_ENSURE_SUCCESS(rv, rv); @@ -54,7 +54,7 @@ diff -up firefox-75.0/toolkit/xre/nsXREDirProvider.cpp.1170092 firefox-75.0/tool + +#if defined(XP_UNIX) + if (!strcmp(aProperty, NS_APP_PREFS_SYSTEM_CONFIG_DIR)) { -+ nsCString sysConfigDir = NS_LITERAL_CSTRING("/etc/"); ++ nsCString sysConfigDir = nsLiteralCString("/etc/"); + nsCOMPtr<nsIXULAppInfo> appInfo = do_GetService("@mozilla.org/xre/app-info;1"); + if (!appInfo) + return NS_ERROR_NOT_AVAILABLE; @@ -78,7 +78,7 @@ diff -up firefox-75.0/toolkit/xre/nsXREDirProvider.cpp.1170092 firefox-75.0/tool + rv = NS_GetSpecialDirectory(NS_APP_PREFS_SYSTEM_CONFIG_DIR, + getter_AddRefs(systemPrefDir)); + if (NS_SUCCEEDED(rv)) { -+ rv = systemPrefDir->AppendNative(NS_LITERAL_CSTRING("pref")); ++ rv = systemPrefDir->AppendNative(nsLiteralCString("pref")); + if (NS_SUCCEEDED(rv)) + directories.AppendObject(systemPrefDir); + } |