summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-13 14:28:09 +0200
committerErich Eckner <git@eckner.net>2018-04-13 14:28:23 +0200
commit488ecda588e55d2fa1fb63a98c60ff24f5988161 (patch)
treeddba9671105f928565f28aab107e8dfce326a3c3 /extra
parentef3108cefd93e4f8e14b95eb8aebd04c03c90bb5 (diff)
downloadpackages-488ecda588e55d2fa1fb63a98c60ff24f5988161.tar.xz
extra/gnome-desktop: remove /lib64 bind mount - we don't have that!
Diffstat (limited to 'extra')
-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",