aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2023-09-25 18:59:15 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-09-25 21:24:04 +0000
commit6837bc7384597090eb5902ab9166c3b6138d463c (patch)
tree5aa8cb10e6756124c3afb3fcc543ede4d72132a5
parent480e7d692853c16bc21e7cbc7dc463a9a8761856 (diff)
downloadports-6837bc7384597090eb5902ab9166c3b6138d463c.tar.gz
ports-6837bc7384597090eb5902ab9166c3b6138d463c.zip
multimedia/libva: unbreak build with LLD 17
Checking if "-Wl,--version-script" : links: NO [...] ld: error: va/libva.so.2.2000.0.p/va_compat.c.o: symbol vaCreateSurfaces@VA_API_0.32.0 has undefined version VA_API_0.32.0 PR: 274088 Reported by: antoine (via bug 273753 exp-run)
-rw-r--r--multimedia/libva/Makefile3
-rw-r--r--multimedia/libva/distinfo2
2 files changed, 5 insertions, 0 deletions
diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile
index 6f4d420aa608..38bb9fef8fbf 100644
--- a/multimedia/libva/Makefile
+++ b/multimedia/libva/Makefile
@@ -2,6 +2,9 @@ PORTNAME= libva
DISTVERSION= 2.20.0
CATEGORIES= multimedia
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= 6b0efda45140.patch:-p1 # https://github.com/intel/libva/pull/758
+
MAINTAINER= jbeich@FreeBSD.org
COMMENT?= VAAPI wrapper and dummy driver
WWW= https://github.com/intel/libva
diff --git a/multimedia/libva/distinfo b/multimedia/libva/distinfo
index 85854b043ca4..938959f61162 100644
--- a/multimedia/libva/distinfo
+++ b/multimedia/libva/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1694678653
SHA256 (intel-libva-2.20.0_GH0.tar.gz) = 117f8d658a5fc9ea406ca80a3eb4ae1d70b15a54807c9ed77199c812bed73b60
SIZE (intel-libva-2.20.0_GH0.tar.gz) = 280079
+SHA256 (6b0efda45140.patch) = ac440a6633896a35938a3c7f761fea32d6c1d75020ecbfdb51216cf603a31604
+SIZE (6b0efda45140.patch) = 2101