commit:     ea7ba7c42a3f1564e612298e781e6fe8963b1e81
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Sun May 20 14:56:42 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=ea7ba7c4

media-video/mpv: addpredict /dev/dri with USE=zsh-completion

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

 media-video/mpv/mpv-0.27.2.ebuild | 4 ++++
 media-video/mpv/mpv-0.28.2.ebuild | 4 ++++
 media-video/mpv/mpv-9999.ebuild   | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/media-video/mpv/mpv-0.27.2.ebuild 
b/media-video/mpv/mpv-0.27.2.ebuild
index 1e790a980c0..6f691123521 100644
--- a/media-video/mpv/mpv-0.27.2.ebuild
+++ b/media-video/mpv/mpv-0.27.2.ebuild
@@ -165,6 +165,10 @@ src_configure() {
                append-ldflags -L"${SYSROOT%/}${EPREFIX}/opt/vc/lib"
        fi
 
+       # Prevent access violations from zsh completion generation.
+       # See Gentoo bug 656086.
+       use zsh-completion && addpredict /dev/dri
+
        local mywafargs=(
                --confdir="${EPREFIX}/etc/${PN}"
                --docdir="${EPREFIX}/usr/share/doc/${PF}"

diff --git a/media-video/mpv/mpv-0.28.2.ebuild 
b/media-video/mpv/mpv-0.28.2.ebuild
index b88afffbfb6..32fac3efe42 100644
--- a/media-video/mpv/mpv-0.28.2.ebuild
+++ b/media-video/mpv/mpv-0.28.2.ebuild
@@ -152,6 +152,10 @@ src_configure() {
                append-ldflags -L"${SYSROOT%/}${EPREFIX}/opt/vc/lib"
        fi
 
+       # Prevent access violations from zsh completion generation.
+       # See Gentoo bug 656086.
+       use zsh-completion && addpredict /dev/dri
+
        local mywafargs=(
                --confdir="${EPREFIX}/etc/${PN}"
                --docdir="${EPREFIX}/usr/share/doc/${PF}"

diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 30deaf8e1fa..8601e37b4bd 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -151,6 +151,10 @@ src_configure() {
                append-ldflags -L"${SYSROOT%/}${EPREFIX}/opt/vc/lib"
        fi
 
+       # Prevent access violations from zsh completion generation.
+       # See Gentoo bug 656086.
+       use zsh-completion && addpredict /dev/dri
+
        local mywafargs=(
                --confdir="${EPREFIX}/etc/${PN}"
                --docdir="${EPREFIX}/usr/share/doc/${PF}"

Reply via email to