void-packages/srcpkgs/gnome-desktop/patches/thumbnail-bwrap-musl.patch

14 lines
566 B
Diff

diff --git libgnome-desktop/gnome-desktop-thumbnail-script.c libgnome-desktop/gnome-desktop-thumbnail-script.c
index cfbbad0..efad40b 100644
--- libgnome-desktop/gnome-desktop-thumbnail-script.c
+++ libgnome-desktop/gnome-desktop-thumbnail-script.c
@@ -532,7 +532,7 @@ add_bwrap (GPtrArray *array,
add_args (array,
"bwrap",
"--ro-bind", "/usr", "/usr",
- "--ro-bind", "/etc/ld.so.cache", "/etc/ld.so.cache",
+ "--ro-bind-try", "/etc/ld.so.cache", "/etc/ld.so.cache",
NULL);
/* These directories might be symlinks into /usr/... */