From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1026464-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 27863138330
	for <garchives@archives.gentoo.org>; Sun, 27 May 2018 08:51:19 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4C9B4E0953;
	Sun, 27 May 2018 08:51:18 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 225C5E0953
	for <gentoo-commits@lists.gentoo.org>; Sun, 27 May 2018 08:51:17 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5221E335CAE
	for <gentoo-commits@lists.gentoo.org>; Sun, 27 May 2018 08:51:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A39442AA
	for <gentoo-commits@lists.gentoo.org>; Sun, 27 May 2018 08:51:14 +0000 (UTC)
From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" <zlogene@gentoo.org>
Message-ID: <1527411057.2078adf9f0884b0e954163e09924775bf4ec0170.zlogene@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/mpv-bash-completion/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-shells/mpv-bash-completion/mpv-bash-completion-3.3.16.ebuild
X-VCS-Directories: app-shells/mpv-bash-completion/
X-VCS-Committer: zlogene
X-VCS-Committer-Name: Mikle Kolyada
X-VCS-Revision: 2078adf9f0884b0e954163e09924775bf4ec0170
X-VCS-Branch: master
Date: Sun, 27 May 2018 08:51:14 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 43c5d456-081b-4f24-ab4d-24df1889fd3d
X-Archives-Hash: 6c73f25f5fdf9ff112ad9bf56d979b91

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
 }