From cd095fa1b3f862a9f7d3529aa9dc80decfadf385 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 1 Apr 2019 15:19:46 +0000 Subject: [PATCH] MFH: r497485 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit multimedia/libva: unbreak DRM backend in some cases $ vainfo error: XDG_RUNTIME_DIR not set in the environment. error: can't connect to X server! vaInitialize failed with error code 1 (operation failed),exit $ ls -lL /dev/dri total 0 crw-rw---- 1 root video 0x188 Mar 30 17:28 card0 crw-rw---- 1 root video 0x208 Mar 30 17:28 renderD128 $ echo $((0x208 & 0x80)) 0 Reported by: 김종성 (via private mail) Approved by: ports-secteam blanket --- multimedia/libva/Makefile | 5 ++++- multimedia/libva/distinfo | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile index 800dfbe2d1e6..9afe584e8fda 100644 --- a/multimedia/libva/Makefile +++ b/multimedia/libva/Makefile @@ -2,9 +2,12 @@ PORTNAME= libva PORTVERSION= 2.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= acf217e61475.patch:-p1 + MAINTAINER= jbeich@FreeBSD.org COMMENT?= VAAPI wrapper and dummy driver diff --git a/multimedia/libva/distinfo b/multimedia/libva/distinfo index 12f98957c6ee..bbf350c71ddf 100644 --- a/multimedia/libva/distinfo +++ b/multimedia/libva/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1548442420 SHA256 (intel-libva-2.4.0_GH0.tar.gz) = 67f0289944b3c39307ab0f1b7ab33de072f6e674758d2f122b51616c3d7b115b SIZE (intel-libva-2.4.0_GH0.tar.gz) = 223232 +SHA256 (acf217e61475.patch) = aa8662c037668b2b5053830c5ec36faecda78d85b2960d5995e840b09198ab28 +SIZE (acf217e61475.patch) = 750