openvdb: Update to 8.0.0

This commit is contained in:
Alexey Pavlov
2020-12-28 11:57:45 +03:00
parent f1c8c06520
commit cdaf521b9b
2 changed files with 3 additions and 40 deletions

View File

@@ -70,43 +70,6 @@ diff -Naur openvdb-7.0.0-orig/openvdb/openvdb/io/File.cc openvdb-7.0.0/openvdb/o
// Get the file size by seeking to the end of the file.
std::ifstream fstrm(filename());
if (fstrm) {
diff -Naur openvdb-7.0.0-orig/openvdb/openvdb/points/AttributeArray.h openvdb-7.0.0/openvdb/openvdb/points/AttributeArray.h
--- openvdb-7.0.0-orig/openvdb/openvdb/points/AttributeArray.h 2019-12-06 23:11:33.000000000 +0300
+++ openvdb-7.0.0/openvdb/openvdb/points/AttributeArray.h 2020-06-19 10:14:28.730787300 +0300
@@ -156,7 +156,7 @@
/// Return a copy of this attribute.
/// @deprecated In-memory compression no longer supported, use AttributeArray::copy() instead.
-#ifndef _MSC_VER
+#ifndef _WIN32
OPENVDB_DEPRECATED
#endif
virtual AttributeArray::Ptr copyUncompressed() const = 0;
@@ -231,7 +231,7 @@
/// @deprecated From ABI 6 on, use copyValues() with source-target index pairs.
#if OPENVDB_ABI_VERSION_NUMBER >= 6
// Windows does not allow base classes to be easily deprecated.
-#ifndef _MSC_VER
+#ifndef _WIN32
OPENVDB_DEPRECATED
#endif
#endif
@@ -285,13 +285,13 @@
OPENVDB_DEPRECATED bool isCompressed() const { return false; }
/// @deprecated Previously this compressed the attribute array, now it does nothing.
// Windows does not allow base classes to be deprecated
-#ifndef _MSC_VER
+#ifndef _WIN32
OPENVDB_DEPRECATED
#endif
virtual bool compress() = 0;
/// @deprecated Previously this uncompressed the attribute array, now it does nothing.
// Windows does not allow base classes to be deprecated
-#ifndef _MSC_VER
+#ifndef _WIN32
OPENVDB_DEPRECATED
#endif
virtual bool decompress() = 0;
diff -Naur openvdb-7.0.0-orig/openvdb/openvdb/tools/ValueTransformer.h openvdb-7.0.0/openvdb/openvdb/tools/ValueTransformer.h
--- openvdb-7.0.0-orig/openvdb/openvdb/tools/ValueTransformer.h 2019-12-06 23:11:33.000000000 +0300
+++ openvdb-7.0.0/openvdb/openvdb/tools/ValueTransformer.h 2020-06-19 10:16:07.301481100 +0300

View File

@@ -3,7 +3,7 @@
_realname=openvdb
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=7.2.1
pkgver=8.0.0
pkgrel=1
pkgdesc="OpenVDB is an open source C++ library comprising a novel hierarchical data structure and a large suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids (mingw-w64)"
arch=('any')
@@ -24,10 +24,10 @@ source=(${_realname}-${pkgver}.tar.gz::https://github.com/AcademySoftwareFoundat
002-fix-find-cppunit.patch
003-msvc-mingw.patch
004-python-module-ext.patch)
sha256sums=('bff324756ceb5608f2ee787f058ac573ccff5aa3a42467d18c17d22235b73dca'
sha256sums=('04a28dc24a744f8ac8bbc5636a949628edb02b7c84db24ad795429c8c739a9ee'
'19cbfa91d93bceb65a6126a3a67f5368619fb78ffd4d44d5dc48c8ea6c0fd5b7'
'e45ba2c3f28327fda7d6d25735dba247cab80f4794693a77b7842fb072db579b'
'886d1389baa3ad6a84688e49984d9e551c4aebd3fba0c59627be53416ca00e75'
'30cdc55dc8c7b93ce929080f83a9254d51ceb896197ab74e80ac8ed69ea3e08a'
'acefb667cac9f7871f6ac5587bef11c098a43c305699c106c43a76062d7af9cb')
prepare() {