summaryrefslogtreecommitdiff
path: root/extra/gnome-desktop
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnome-desktop')
-rw-r--r--extra/gnome-desktop/PKGBUILD15
-rw-r--r--extra/gnome-desktop/lib64.diff13
2 files changed, 27 insertions, 1 deletions
diff --git a/extra/gnome-desktop/PKGBUILD b/extra/gnome-desktop/PKGBUILD
index bca870d3..b6194988 100644
--- a/extra/gnome-desktop/PKGBUILD
+++ b/extra/gnome-desktop/PKGBUILD
@@ -1 +1,14 @@
-eval "$(declare -f build | sed 's|./configure|./configure --disable-Werror|')"
+eval "$(
+ declare -f build | \
+ sed '
+ s|./configure|./configure --disable-Werror|
+ '
+)"
+eval "$(
+ declare -f prepare | \
+ sed '
+ 3 a patch -Np1 -i ../lib64.diff
+ '
+)"
+source+=('lib64.diff')
+sha256sums+=('a1ba9b12d71afea5dd713cdbc0c3297ee3df38f5004f5ee02dd2d90adfcffc5b')
diff --git a/extra/gnome-desktop/lib64.diff b/extra/gnome-desktop/lib64.diff
new file mode 100644
index 00000000..c3f1e442
--- /dev/null
+++ b/extra/gnome-desktop/lib64.diff
@@ -0,0 +1,13 @@
+diff --git a/libgnome-desktop/gnome-desktop-thumbnail-script.c
+b/libgnome-desktop/gnome-desktop-thumbnail-script.c
+index 14e2fed3..dac7b210 100644
+--- a/libgnome-desktop/gnome-desktop-thumbnail-script.c
++++ b/libgnome-desktop/gnome-desktop-thumbnail-script.c
+@@ -517,7 +517,6 @@ add_bwrap (GPtrArray *array,
+ "bwrap",
+ "--ro-bind", "/usr", "/usr",
+ "--ro-bind", "/lib", "/lib",
+- "--ro-bind", "/lib64", "/lib64",
+ "--proc", "/proc",
+ "--dev", "/dev",
+ "--symlink", "usr/bin", "/bin",