Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2021 21:20:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 260400] multimedia/opentoonz: fix build with clang 13
Message-ID:  <bug-260400-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260400

            Bug ID: 260400
           Summary: multimedia/opentoonz: fix build with clang 13
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: rozhuk.im@gmail.com

Created attachment 230090
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230090&action=
=3Dedit
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=3D1
-DTRASTERIMAGE_EXPORTS -DTRASTER_EXPORTS -DTROP_EXPORTS -DTSOUND_EXPORTS
-DTSTREAM_EXPORTS -DTSYSTEM_EXPORTS -DTVECTORIMAGE_EXPORTS -DTVRENDER_EXPOR=
TS
-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/source=
s/tnzcore
-I/wrkdirs/usr/ports/multimedia/opentoonz/work/opentoonz-1.5.0/toonz/source=
s/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 -isy=
stem
/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/QtNet=
work
-isystem /usr/local/include/qt5/QtMultimedia -O2 -pipe -fstack-protector-st=
rong
-fno-strict-aliasing  -DNDEBUG -std=3Dc++11 -O2 -pipe -fstack-protector-str=
ong
-fno-strict-aliasing  -DNDEBUG -fPIC -fPIC -std=3Dgnu++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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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