MFH: r497485

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
This commit is contained in:
Jan Beich 2019-04-01 15:19:46 +00:00
parent 22422d13eb
commit cd095fa1b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=497486
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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