From 2078adf9f0884b0e954163e09924775bf4ec0170 Mon Sep 17 00:00:00 2001 From: Ilya Tumaykin Date: Sun, 20 May 2018 18:00:36 +0300 Subject: [PATCH] app-shells/mpv-bash-completion: addpredict /dev/dri Bug: https://bugs.gentoo.org/656086 Package-Manager: Portage-2.3.38, Repoman-2.3.9 --- .../mpv-bash-completion/mpv-bash-completion-3.3.16.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.16.ebuild b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.16.ebuild index f5f6bc361f17..bb3736da0fec 100644 --- a/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.16.ebuild +++ b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.16.ebuild @@ -30,6 +30,10 @@ src_prepare() { } src_compile() { + # Prevent access violations from completion generation. + # See Gentoo bug 656086. + addpredict /dev/dri + $(usex luajit 'luajit' 'lua') gen.lua > mpv || die } -- 2.26.2