Created attachment 246482 [details] Update to 3.7.9b61; restore build on FreeBSD ≧ 14 Hello, I noticed upstream updated and includes a fix for "fails to compile: 'experimental/filesystem' file not found" * Update to 3.7.9b61 * Re-enable build on FreeBSD ≧ 14 The update adds an image '${BUILD_WRKSRC}/knob big.png' which the Port build was failing on, because of the ASCII space, not sure if my work is correct. files/patch-pluginterfaces_base_funknownimpl.h is required because of the following error on 12.4: > FAILED: public.sdk/CMakeFiles/sdk.dir/source/main/pluginfactory.cpp.o /ccache/libexec/ccache/c++ -I/wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61 -I/wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/public.sdk/.. -I/wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/base/.. -I/wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/pluginterfaces/.. -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -Wno-multichar -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -DSMTG_RENAME_ASSERT=1 -fcolor-diagnostics -DRELEASE=1 -MD -MT public.sdk/CMakeFiles/sdk.dir/source/main/pluginfactory.cpp.o -MF public.sdk/CMakeFiles/sdk.dir/source/main/pluginfactory.cpp.o.d -o public.sdk/CMakeFiles/sdk.dir/source/main/pluginfactory.cpp.o -c /wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/public.sdk/source/main/pluginfactory.cpp > In file included from /wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/public.sdk/source/main/pluginfactory.cpp:40: > /wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/pluginterfaces/base/funknownimpl.h:369:52: error: no member named 'forward' in namespace 'std' > ImplementsImpl (Args&&... args) : BaseClass {std::forward<Args> (args)...} > ~~~~~^ > /wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/pluginterfaces/base/funknownimpl.h:369:60: error: 'Args' does not refer to a value > ImplementsImpl (Args&&... args) : BaseClass {std::forward<Args> (args)...} > ^ > /wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/pluginterfaces/base/funknownimpl.h:368:24: note: declared here > template <typename... Args> > ^ > 2 errors generated. For files/patch-public.sdk_source_vst_utility_systemtime.cpp, I was not sure how to handle the following, I believe __BSD_VISIBLE is 1, and CLOCK_BOOTTIME should be visible, tho it is not: > FAILED: public.sdk/CMakeFiles/sdk.dir/source/vst/utility/systemtime.cpp.o /ccache/libexec/ccache/c++ -I/wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61 -I/wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/public.sdk/.. -I/wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/base/.. -I/wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/pluginterfaces/.. -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -Wno-multichar -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -DSMTG_RENAME_ASSERT=1 -fcolor-diagnostics -DRELEASE=1 -MD -MT public.sdk/CMakeFiles/sdk.dir/source/vst/utility/systemtime.cpp.o -MF public.sdk/CMakeFiles/sdk.dir/source/vst/utility/systemtime.cpp.o.d -o public.sdk/CMakeFiles/sdk.dir/source/vst/utility/systemtime.cpp.o -c /wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/public.sdk/source/vst/utility/systemtime.cpp > /wrkdirs/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.9_build_61/public.sdk/source/vst/utility/systemtime.cpp:118:21: error: use of undeclared identifier 'CLOCK_BOOTTIME' > if (clock_gettime (CLOCK_BOOTTIME, &time_spec) != 0) > ^ > 1 error generated. Thanks.
poudriere-testport: 12.4-amd64-release OK 13.2-amd64-release OK 14.0-amd64-release OK main-amd64-current OK
I accidentally lumped .so install in with ${INSTALL_DATA}. Will fix, re-test, and submit new diff.
Created attachment 246719 [details] Update to 3.7.9b61; restore build on FreeBSD ≧ 14 In the previous patch, I accidentally left the libraries in the for-loop block that installs data, thus, the libraries were being installed with ${INSTALL_DATA}, move the library installation out of the for loop used for ${INSTALL_DATA}, and make use of ${INSTALL_LIB} instead, restoring how the Port previously installed libraries.
https://cgit.freebsd.org/ports/commit/?id=03bd49317d1a5b9ac302c9b1644120e8a639c6ab https://cgit.freebsd.org/ports/commit/?id=72fc3435551494eac1156dc422cf477ed3a656ea