commit: 8a7966781c218c5402a171b717322c9773134610 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Sat Jan 2 17:54:47 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Sat Jan 2 17:54:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a796678
media-gfx/inkscape: fix sandbox issue with 1.0.1 Closes: https://bugs.gentoo.org/761915 Closes: https://github.com/gentoo/gentoo/pull/18911 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> media-gfx/inkscape/inkscape-1.0.1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/media-gfx/inkscape/inkscape-1.0.1.ebuild b/media-gfx/inkscape/inkscape-1.0.1.ebuild index 46527098d10..ebd89f20c15 100644 --- a/media-gfx/inkscape/inkscape-1.0.1.ebuild +++ b/media-gfx/inkscape/inkscape-1.0.1.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 @@ -155,4 +155,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." }
