Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2023 21:24:57 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6837bc738459 - main - multimedia/libva: unbreak build with LLD 17
Message-ID:  <202309252124.38PLOvS4093669@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

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

commit 6837bc7384597090eb5902ab9166c3b6138d463c
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-09-25 18:59:15 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-09-25 21:24:04 +0000

    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)
---
 multimedia/libva/Makefile | 3 +++
 multimedia/libva/distinfo | 2 ++
 2 files changed, 5 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309252124.38PLOvS4093669>