aboutsummaryrefslogtreecommitdiff
path: root/misc/openvdb
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-12-14 11:09:51 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-12-14 11:09:51 +0000
commitcbb085f1dbfcdd055fd3786b173eef01b6632f00 (patch)
tree9e52eebb41f68879ea2110e54742e00e487e8202 /misc/openvdb
parent70df40b709cc36aca9b33fd6e8a093013f69c4b7 (diff)
downloadports-cbb085f1dbfcdd055fd3786b173eef01b6632f00.tar.gz
ports-cbb085f1dbfcdd055fd3786b173eef01b6632f00.zip
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
Notes
Notes: svn path=/head/; revision=558091
Diffstat (limited to 'misc/openvdb')
-rw-r--r--misc/openvdb/files/patch-openvdb_openvdb_points_AttributeSet.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/openvdb/files/patch-openvdb_openvdb_points_AttributeSet.h b/misc/openvdb/files/patch-openvdb_openvdb_points_AttributeSet.h
new file mode 100644
index 000000000000..96e5e4692338
--- /dev/null
+++ b/misc/openvdb/files/patch-openvdb_openvdb_points_AttributeSet.h
@@ -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>