From 72ce3559a0b4e1a483606faaa4f660abbb031be7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 16 Mar 2020 08:27:10 +0100 Subject: [PATCH] media-gfx/entangle: Prebuild enum targets to fix race condition MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/709740 Signed-off-by: Michał Górny --- media-gfx/entangle/entangle-2.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/media-gfx/entangle/entangle-2.0.ebuild b/media-gfx/entangle/entangle-2.0.ebuild index a8563923bc55..8e23c27d8c65 100644 --- a/media-gfx/entangle/entangle-2.0.ebuild +++ b/media-gfx/entangle/entangle-2.0.ebuild @@ -48,6 +48,11 @@ src_compile() { # prevent gst from loading system plugins which causes # sandbox violations on device access local -x GST_PLUGIN_SYSTEM_PATH_1_0= + # pre-generate enums to resolve race conditions + # https://bugs.gentoo.org/709740 + meson_src_compile \ + src/backend/entangle-{camera,colour-profile}-enums.h \ + src/frontend/entangle-image-display-enums.h meson_src_compile } -- 2.26.2