summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2018-05-20 18:00:36 +0300
committerMikle Kolyada <zlogene@gentoo.org>2018-05-27 11:50:57 +0300
commit2078adf9f0884b0e954163e09924775bf4ec0170 (patch)
tree85efe23b3c2fc2bbd20cb869e1c46f82c2d699f8
parentmedia-video/mpv: addpredict /dev/dri with USE=zsh-completion (diff)
downloadgentoo-2078adf9f0884b0e954163e09924775bf4ec0170.tar.gz
gentoo-2078adf9f0884b0e954163e09924775bf4ec0170.tar.bz2
gentoo-2078adf9f0884b0e954163e09924775bf4ec0170.zip
app-shells/mpv-bash-completion: addpredict /dev/dri
Bug: https://bugs.gentoo.org/656086 Package-Manager: Portage-2.3.38, Repoman-2.3.9
-rw-r--r--app-shells/mpv-bash-completion/mpv-bash-completion-3.3.16.ebuild4
1 files changed, 4 insertions, 0 deletions
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
}