Date: Tue, 17 Sep 2019 08:07:22 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 240630] misc/openvdb: fix build on GCC architectures Message-ID: <bug-240630-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240630 Bug ID: 240630 Summary: misc/openvdb: fix build on GCC architectures Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: pkubaj@FreeBSD.org Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Created attachment 207551 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207551&action= =3Dedit patch Compiling on GCC architectures fails: /wrkdirs/usr/ports/misc/openvdb/work/openvdb-6.1.0/openvdb/points/Attribute= Set.cc: In member function 'openvdb::v6_1::points::AttributeSet::Descriptor::Ptr openvdb::v6_1::points::AttributeSet::Descriptor::duplicateDrop(const std::vector<long unsigned int>&) const': /wrkdirs/usr/ports/misc/openvdb/work/openvdb-6.1.0/openvdb/points/Attribute= Set.cc:875:59: error: 'CHAR_BIT' was not declared in this scope 875 | const size_t GROUP_BITS =3D sizeof(GroupType) * CHAR_BI= T; | ^~~~~~~~ /wrkdirs/usr/ports/misc/openvdb/work/openvdb-6.1.0/openvdb/points/Attribute= Set.cc:35:1: note: 'CHAR_BIT' is defined in header '<climits>'; did you forget to '#incl= ude <climits>'? 34 | #include "AttributeGroup.h" +++ |+#include <climits> 35 |=20 While here, add USES=3Dxorg for TOOLS option. --=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-240630-7788>