summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2021-01-02 20:04:11 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-01-02 20:04:11 +0200
commitce567b79660e5635d95303297fe5e9191324d397 (patch)
tree4d22e8dedfc2046fcbc342595333327055cab9db /media-gfx/inkscape
parentmedia-gfx/inkscape: fix sandbox issue with 1.0.1 (diff)
downloadgentoo-ce567b79660e5635d95303297fe5e9191324d397.tar.gz
gentoo-ce567b79660e5635d95303297fe5e9191324d397.tar.bz2
gentoo-ce567b79660e5635d95303297fe5e9191324d397.zip
media-gfx/inkscape: sync sandbox issue fix with -9999
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/inkscape')
-rw-r--r--media-gfx/inkscape/inkscape-9999.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/media-gfx/inkscape/inkscape-9999.ebuild b/media-gfx/inkscape/inkscape-9999.ebuild
index 1cc566e61354..d9978ad99f8c 100644
--- a/media-gfx/inkscape/inkscape-9999.ebuild
+++ b/media-gfx/inkscape/inkscape-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -152,4 +152,7 @@ src_install() {
if [[ -e "${extdir}" ]] && [[ -n $(find "${extdir}" -mindepth 1) ]]; then
python_optimize "${ED}"/usr/share/${PN}/extensions
fi
+
+ # Empty directory causes sandbox issues, see bug #761915
+ rm -r "${ED}/usr/share/inkscape/fonts" || die "Failed to remove fonts directory."
}