commit:     3edfb6ad50d294cb812ef2c3088a39bdcd282fc6
Author:     Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Fri Jan 27 16:27:42 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 13:46:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3edfb6ad

media-gfx/enblend: Fix sandbox access violations

The new version of ImageMagick needs access to /dev/dri for image
rendering, thus causing the installation of enblend to fail.

Signed-off by: Jonathan Scruggs (j.scruggs <AT> gmail.com)
Closes: https://github.com/gentoo/gentoo/pull/3682

 media-gfx/enblend/enblend-4.2.0_p20161007.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/media-gfx/enblend/enblend-4.2.0_p20161007.ebuild 
b/media-gfx/enblend/enblend-4.2.0_p20161007.ebuild
index 0c86b867..aa15cce 100644
--- a/media-gfx/enblend/enblend-4.2.0_p20161007.ebuild
+++ b/media-gfx/enblend/enblend-4.2.0_p20161007.ebuild
@@ -67,7 +67,12 @@ src_configure() {
 }
 
 src_compile() {
+       # To allow icon resizing with renderers (no way to disable)
+       addpredict /dev/dri
+
+       # To compile fonts in the temp directory
        export VARTEXFONTS="${T}/fonts"
+
        # forcing -j1 as every parallel compilation process needs about 1 GB 
RAM.
        cmake-utils_src_compile -j1
 }

Reply via email to