Date: Mon, 14 Dec 2020 11:09:51 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r558091 - head/misc/openvdb/files Message-ID: <202012141109.0BEB9p28035944@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Mon Dec 14 11:09:51 2020 New Revision: 558091 URL: https://svnweb.freebsd.org/changeset/ports/558091 Log: misc/openvdb: fix build on GCC architectures /wrkdirs/usr/ports/misc/openvdb/work/openvdb-7.1.0/openvdb/points/AttributeSet.h:461:60: error: 'CHAR_BIT' was not declared in this scope 461 | static size_t groupBits() { return sizeof(GroupType) * CHAR_BIT; } | ^~~~~~~~ /wrkdirs/usr/ports/misc/openvdb/work/openvdb-7.1.0/openvdb/points/AttributeSet.h:1:1: note: 'CHAR_BIT' is defined in header '<climits>'; did you forget to '#include <climits>'? +++ |+#include <climits> 1 | // Copyright Contributors to the OpenVDB Project Added: head/misc/openvdb/files/patch-openvdb_openvdb_points_AttributeSet.h (contents, props changed) Added: head/misc/openvdb/files/patch-openvdb_openvdb_points_AttributeSet.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/openvdb/files/patch-openvdb_openvdb_points_AttributeSet.h Mon Dec 14 11:09:51 2020 (r558091) @@ -0,0 +1,10 @@ +--- openvdb/openvdb/points/AttributeSet.h.orig 2020-12-14 01:40:20 UTC ++++ openvdb/openvdb/points/AttributeSet.h +@@ -14,6 +14,7 @@ + #include <openvdb/version.h> + #include <openvdb/MetaMap.h> + ++#include <climits> + #include <limits> + #include <memory> + #include <vector>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012141109.0BEB9p28035944>