Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2024 00:56:34 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 03bd49317d1a - 2024Q1 - audio/vst3sdk: Unbreak on 14 and 15
Message-ID:  <202402040056.4140uYZM066064@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q1 has been updated by yuri:

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

commit 03bd49317d1a5b9ac302c9b1644120e8a639c6ab
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:56:32 +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.
    
    (cherry picked from commit 72fc3435551494eac1156dc422cf477ed3a656ea)
---
 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?202402040056.4140uYZM066064>