Created attachment 230090 [details] patch --- tnzcore/CMakeFiles/tnzcore.dir/__/common/trop/terodilate.cpp.o --- [ 6%] Building CXX object tnzcore/CMakeFiles/tnzcore.dir/__/common/trop/terodilate.cpp.o cd /wrkdirs/usr/ports/multimedia/opentoonz/work/.build/tnzcore && /usr/bin/c++ -DFREEBSD -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SHARED -DQT_WIDGETS_LIB -DTCOLOR_EXPORTS -DTFLASH_EXPORTS -DTGEOMETRY_EXPORTS -DTGL_EXPORTS -DTIMAGE_EXPORTS -DTIMAGE_IO_EXPORTS -DTNZCORE_EXPORTS -DTNZ_LITTLE_ENDIAN=1 -DTRASTERIMAGE_EXPORTS -DTRASTER_EXPORTS -DTROP_EXPORTS -DTSOUND_EXPORTS -DTSTREAM_EXPORTS -DTSYSTEM_EXPORTS -DTVECTORIMAGE_EXPORTS -DTVRENDER_EXPORTS -D_BSD_SOURCE -Dtnzcore_EXPORTS -Dx64 -I/wrkdirs/usr/ports/multimedia/opentoonz/work/.build/tnzcore -I/wrkdirs/usr/ports/multimedia/opentoonz/work/opentoonz-1.5.0/toonz/sources/tnzcore -I/wrkdirs/usr/ports/multimedia/opentoonz/work/opentoonz-1.5.0/toonz/sources/include -isystem /usr/local/include -isystem /wrkdirs/usr/ports/multimedia/opentoonz/work/opentoonz-1.5.0/toonz/sources/BEFORE -isystem /usr/local/include/superlu -isystem /usr/local/include/libmypaint -isystem /usr/local/includ e/json-c -isystem /usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include -isystem /wrkdirs/usr/ports/multimedia/opentoonz/work/opentoonz-1.5.0/toonz/sources/tnzcore/../common/flash -isystem /wrkdirs/usr/ports/multimedia/opentoonz/work/opentoonz-1.5.0/thirdparty/Lz4/Lz4_131/lib -isystem /usr/local/include/freetype2 -isystem /usr/local/include/libpng16 -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/qt5/QtOpenGL -isystem /usr/local/include/qt5/QtWidgets -isystem /usr/local/include/qt5/QtGui -isystem /usr/local/include/qt5/QtNetwork -isystem /usr/local/include/qt5/QtMultimedia -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++11 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -fPIC -std=gnu++11 -MD -MT tnzcore/CMakeFiles/tnzcore.dir/__/common/trop/terodilate.cpp.o -MF CMakeFiles/tnzcore.dir/__/common/trop/terodilate.cpp.o.d - o CMakeFiles/tnzcore.dir/__/common/trop/tero! dilate.cpp.o -c /wrkdirs/usr/ports/multimedia/opentoonz/work/opentoonz-1.5.0/toonz/sources/common/trop/terodilate.cpp In file included from /wrkdirs/usr/ports/multimedia/opentoonz/work/opentoonz-1.5.0/toonz/sources/common/trop/terodilate.cpp:4: In file included from /wrkdirs/usr/ports/multimedia/opentoonz/work/opentoonz-1.5.0/toonz/sources/include/tcg/tcg_misc.h:16: /wrkdirs/usr/ports/multimedia/opentoonz/work/opentoonz-1.5.0/toonz/sources/include/tcg/poly_ops.h:128:7: error: no member named 'copy' in namespace 'std'; did you mean 'bcopy'? std::copy(poly2, poly2 + deg2, pow[1]); ^~~~~~~~~ bcopy /usr/include/strings.h:45:7: note: 'bcopy' declared here void bcopy(const void *, void *, size_t); /* LEGACY */ ^ 1 error generated.
Merged by upstream: https://github.com/opentoonz/opentoonz/pull/4187
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=307d8ce4bdc6ddea5713b5572a4b42a1e013857a commit 307d8ce4bdc6ddea5713b5572a4b42a1e013857a Author: Rozhuk Ivan <rozhuk.im@gmail.com> AuthorDate: 2021-12-13 21:14:34 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2021-12-20 08:42:15 +0000 multimedia/opentoonz: fix build with clang 13 PR: 260400 .../files/patch-toonz_sources_include_tcg_poly__ops.h (new) | 10 ++++++++++ 1 file changed, 10 insertions(+)