git: bbdb8c12e8ac - main - multimedia/libva: unbreak crocus autodetection on X11

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 01 Nov 2021 15:21:02 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bbdb8c12e8ac1bd8ce990ee3a212ddc1d2698634

commit bbdb8c12e8ac1bd8ce990ee3a212ddc1d2698634
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-10-31 08:00:52 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-11-01 15:08:31 +0000

    multimedia/libva: unbreak crocus autodetection on X11
    
    $ vainfo
    libva info: VA-API version 1.13.0
    libva info: Trying to open /usr/local/lib/dri/crocus_drv_video.so
    libva info: va_openDriver() returns -1
    vaInitialize failed with error code -1 (unknown libva error),exit
---
 multimedia/libva/Makefile | 2 ++
 multimedia/libva/distinfo | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile
index 69e931e95570..f980d60048a9 100644
--- a/multimedia/libva/Makefile
+++ b/multimedia/libva/Makefile
@@ -1,10 +1,12 @@
 PORTNAME=	libva
 DISTVERSION=	2.13.0
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
 PATCHFILES+=	0c9e5f2fff22.patch:-p1 # https://github.com/intel/libva/pull/292
 PATCHFILES+=	657d77406161.patch:-p1 # https://github.com/intel/libva/pull/292
+PATCHFILES+=	ae7174b3dbae.patch:-p1 # https://github.com/intel/libva/pull/547
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT?=	VAAPI wrapper and dummy driver
diff --git a/multimedia/libva/distinfo b/multimedia/libva/distinfo
index ffbaa14e2573..ff8c7f66087a 100644
--- a/multimedia/libva/distinfo
+++ b/multimedia/libva/distinfo
@@ -5,3 +5,5 @@ SHA256 (0c9e5f2fff22.patch) = ea769e0225befd4d0046f1f6f4d60bd85c24f9c96b519c414a
 SIZE (0c9e5f2fff22.patch) = 1715
 SHA256 (657d77406161.patch) = 0aa9cc936440e07ebc748829a139546acb01256065afea4a9f5cdc131d97db9d
 SIZE (657d77406161.patch) = 1107
+SHA256 (ae7174b3dbae.patch) = d868d1bf923ec498c31208a6387c05d0e15c220d4b2f7f14fd75ace75e61b795
+SIZE (ae7174b3dbae.patch) = 914