aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-07-16 15:27:13 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-07-16 15:27:46 +0000
commited41aec3d6f7308ab305b87d0a4514833f0347e8 (patch)
treeccd25926ce7f3f5d28d776fe4bf4d2ae97b1b310
parentf1a24fbba2fd4d8afde1abb19d48e7e582d68864 (diff)
audio/xanalyser: Fix build with clang-16 by adding USE_CXXSTD
-rw-r--r--audio/xanalyser/Makefile2
1 files changed, 2 insertions, 0 deletions
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