commit:     2078adf9f0884b0e954163e09924775bf4ec0170
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Sun May 20 15:00:36 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun May 27 08:50:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2078adf9

app-shells/mpv-bash-completion: addpredict /dev/dri

Bug: https://bugs.gentoo.org/656086
Package-Manager: Portage-2.3.38, Repoman-2.3.9

 app-shells/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 f5f6bc361f1..bb3736da0fe 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
 }
 

Reply via email to