commit:     3f535c7636d53f04ddf69e514f9a2b9e9009ed61
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 19 10:18:32 2020 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Sep 19 10:21:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f535c76

app-text/xpdf: workaround inkscape sandbox violations

Closes: https://bugs.gentoo.org/739166
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 app-text/xpdf/xpdf-4.02-r4.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-text/xpdf/xpdf-4.02-r4.ebuild 
b/app-text/xpdf/xpdf-4.02-r4.ebuild
index 4311f1b32ef..c8a43737864 100644
--- a/app-text/xpdf/xpdf-4.02-r4.ebuild
+++ b/app-text/xpdf/xpdf-4.02-r4.ebuild
@@ -87,6 +87,9 @@ src_compile() {
        cmake-utils_src_compile
 
        if use icons; then
+               # in some cases inkscape tries to write font cache to the
+               # system dir, see bug 739166
+               addpredict /usr/share/inkscape/fonts
                local inkarg="-e"
                has_version -b '>media-gfx/inkscape-0.99' && inkarg="-o"
 

Reply via email to