aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-components_os__crypt_libsecret__util__linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-components_os__crypt_libsecret__util__linux.cc')
-rw-r--r--www/chromium/files/patch-components_os__crypt_libsecret__util__linux.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/chromium/files/patch-components_os__crypt_libsecret__util__linux.cc b/www/chromium/files/patch-components_os__crypt_libsecret__util__linux.cc
new file mode 100644
index 000000000000..8c33525f1c23
--- /dev/null
+++ b/www/chromium/files/patch-components_os__crypt_libsecret__util__linux.cc
@@ -0,0 +1,18 @@
+--- components/os_crypt/libsecret_util_linux.cc.orig 2022-02-07 13:39:41 UTC
++++ components/os_crypt/libsecret_util_linux.cc
+@@ -101,13 +101,13 @@ bool LibsecretLoader::LoadLibsecret() {
+ if (libsecret_loaded_)
+ return true;
+
+- static void* handle = dlopen("libsecret-1.so.0", RTLD_NOW | RTLD_GLOBAL);
++ static void* handle = dlopen("libsecret-1.so", RTLD_NOW | RTLD_GLOBAL);
+ if (!handle) {
+ // We wanted to use libsecret, 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.)
+ // TODO(crbug.com/607435): Channel this message to the user-facing log
+- VLOG(1) << "Could not load libsecret-1.so.0: " << dlerror();
++ VLOG(1) << "Could not load libsecret-1.so: " << dlerror();
+ return false;
+ }
+