void-packages/srcpkgs/lightdm-webkit2-greeter/patches/02-musl.patch
John 10e297abc7 lightdm-webkit2-greeter: silence error message on some systems
the greeter searches for backgrounds in /usr/share/backgrounds,
if the dir doesn't exists it uses a fallback image.
Some change in lightdm ended up printing an error message if the
background dir wasn't existing
2022-02-03 01:31:39 +01:00

11 lines
361 B
Diff

--- a/src/webkit2-extension.c 2017-04-24 19:51:30.000000000 +0000
+++ b/src/webkit2-extension.c 2017-04-24 19:51:30.000000000 +0000
@@ -1846,7 +1846,7 @@
return result;
}
- canonical_path = canonicalize_file_name(file_path);
+ canonical_path = realpath(file_path, NULL);
if (NULL != canonical_path) {
for (iter = paths; iter; iter = iter->next) {