aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-components_os__crypt_keyring__util__linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-components_os__crypt_keyring__util__linux.cc')
-rw-r--r--www/chromium/files/patch-components_os__crypt_keyring__util__linux.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/chromium/files/patch-components_os__crypt_keyring__util__linux.cc b/www/chromium/files/patch-components_os__crypt_keyring__util__linux.cc
new file mode 100644
index 000000000000..d81e53fa3c1f
--- /dev/null
+++ b/www/chromium/files/patch-components_os__crypt_keyring__util__linux.cc
@@ -0,0 +1,17 @@
+--- components/os_crypt/keyring_util_linux.cc.orig 2022-02-07 13:39:41 UTC
++++ components/os_crypt/keyring_util_linux.cc
+@@ -69,12 +69,12 @@ bool GnomeKeyringLoader::LoadGnomeKeyring() {
+ if (keyring_loaded)
+ return true;
+
+- void* handle = dlopen("libgnome-keyring.so.0", RTLD_NOW | RTLD_GLOBAL);
++ void* handle = dlopen("libgnome-keyring.so", RTLD_NOW | RTLD_GLOBAL);
+ if (!handle) {
+ // We wanted to use GNOME Keyring, but we couldn't load it. Warn, because
+ // either the user asked for this, or we autodetected it incorrectly. (Or
+ // the system has broken libraries, which is also good to warn about.)
+- LOG(WARNING) << "Could not load libgnome-keyring.so.0: " << dlerror();
++ LOG(WARNING) << "Could not load libgnome-keyring.so: " << dlerror();
+ return false;
+ }
+