Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2023 15:27:48 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ed41aec3d6f7 - main - audio/xanalyser: Fix build with clang-16 by adding USE_CXXSTD
Message-ID:  <202307161527.36GFRmpW063914@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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