git: ed41aec3d6f7 - main - audio/xanalyser: Fix build with clang-16 by adding USE_CXXSTD

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 16 Jul 2023 15:27:48 UTC
The branch main has been updated by yuri:

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

commit ed41aec3d6f7308ab305b87d0a4514833f0347e8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-16 15:27:13 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-16 15:27:46 +0000

    audio/xanalyser: Fix build with clang-16 by adding USE_CXXSTD
---
 audio/xanalyser/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/audio/xanalyser/Makefile b/audio/xanalyser/Makefile
index 4f0c2e0fe1a9..1b3be9279f99 100644
--- a/audio/xanalyser/Makefile
+++ b/audio/xanalyser/Makefile
@@ -14,6 +14,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		gmake libtool motif tar:bzip2 xorg
 USE_XORG=	x11 xmu ice sm xt xext
+USE_CXXSTD=	c++14 # to fix build on 14 with clang-16 that has c++20 by default: error: ISO C++17 does not allow 'register' storage class specifier
+
 GNU_CONFIGURE=	yes
 
 PLIST_FILES=	bin/xanalyser lib/X11/app-defaults/XAnalyser man/man1/xanalyser.1.gz