media-gfx/enblend: Fix sandbox access violations
authorJonathan Scruggs <j.scruggs@gmail.com>
Fri, 27 Jan 2017 16:27:42 +0000 (16:27 +0000)
committerDavid Seifert <soap@gentoo.org>
Sat, 28 Jan 2017 13:46:22 +0000 (14:46 +0100)
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@gmail.com)
Closes: https://github.com/gentoo/gentoo/pull/3682

media-gfx/enblend/enblend-4.2.0_p20161007.ebuild

index 0c86b86757d1ea4a00708bc3c39da8d09c0c5184..aa15cce946f46f717d1bf19b1a1f5bdf8467593a 100644 (file)
@@ -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
 }