Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2024 00:55:53 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: 72fc34355514 - main - audio/vst3sdk: Unbreak on 14 and 15
Message-ID:  <202402040055.4140trGd065811@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=72fc3435551494eac1156dc422cf477ed3a656ea

commit 72fc3435551494eac1156dc422cf477ed3a656ea
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-02-04 00:54:06 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-02-04 00:55:50 +0000

    audio/vst3sdk: Unbreak on 14 and 15
    
    The code doesn't correctly detect the location of the C++ 'filesystem' header
    in the C++17 mode. This is now fixed by switching to C++20.
---
 audio/vst3sdk/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/audio/vst3sdk/Makefile b/audio/vst3sdk/Makefile
index 68df5d8c0c00..b3efa1c5f5e4 100644
--- a/audio/vst3sdk/Makefile
+++ b/audio/vst3sdk/Makefile
@@ -12,7 +12,6 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 BROKEN_i386=	fails to build: static_assert failed due to requirement 'alignof(Steinberg::Vst::ProcessContext) == (0 ? 8U : 0 ? 1U : 1 ? 8U : 8U)
-BROKEN_FreeBSD_14=	fails to compile: 'experimental/filesystem' file not found
 
 BUILD_DEPENDS=	bash:shells/bash
 LIB_DEPENDS=	libexpat.so:textproc/expat2 \
@@ -27,6 +26,7 @@ LIB_DEPENDS=	libexpat.so:textproc/expat2 \
 USES=		cmake compiler:c++14-lang gnome localbase:ldflags pkgconfig shebangfix xorg
 USE_GNOME=	cairo gtk30 gtkmm30
 USE_XORG=	ice sm x11 xcb xext
+USE_CXXSTD=	c++20 # otherwise the code in public.sdk/source/vst/hosting/module_linux.cpp uses the default value of __cplusplus=201703 and fails to use the correct #include <filesystem>
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	steinbergmedia



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