git: 4828dae14a73 - main - multimedia/libva-intel-hybrid-driver: unbreak build with clang 16

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 25 Jun 2023 15:52:22 UTC
The branch main has been updated by jbeich:

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

commit 4828dae14a73369845cad8d6e0927164a9dcc2d0
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-06-25 13:17:20 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-06-25 15:52:09 +0000

    multimedia/libva-intel-hybrid-driver: unbreak build with clang 16
    
    In file included from intel_hybrid_hostvld_vp9.cpp:67:
    ./intel_hybrid_hostvld_vp9_engine.h:116:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register INT                     iNumBits);
        ^~~~~~~~~
    
    Reported by:    pkg-fallout
---
 multimedia/libva-intel-hybrid-driver/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multimedia/libva-intel-hybrid-driver/Makefile b/multimedia/libva-intel-hybrid-driver/Makefile
index 1500dd30f0db..8b02f28fc62a 100644
--- a/multimedia/libva-intel-hybrid-driver/Makefile
+++ b/multimedia/libva-intel-hybrid-driver/Makefile
@@ -25,6 +25,7 @@ LIB_DEPENDS=	libdrm_intel.so:graphics/libdrm \
 		libva.so:multimedia/libva
 
 USES=		autoreconf compiler:c11 gmake libtool pkgconfig
+USE_CXXSTD=	gnu++98
 USE_GITHUB=	yes
 GH_ACCOUNT=	intel
 GNU_CONFIGURE=	yes