app-shells/mpv-bash-completion: addpredict /dev/dri
authorIlya Tumaykin <itumaykin@gmail.com>
Sun, 20 May 2018 15:00:36 +0000 (18:00 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Sun, 27 May 2018 08:50:57 +0000 (11:50 +0300)
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

index f5f6bc361f1732a5971de29901cc378641723a32..bb3736da0fec466d5cb2c8e8d50d6de1d15db3e2 100644 (file)
@@ -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
 }