From ddcdcc9f4762f4bc40ce7cfd4f88c0693034da4e Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Thu, 5 Oct 2023 14:01:30 +0000 Subject: [PATCH] bump(main/libtiledb): 2.17.1 --- packages/libtiledb/build.sh | 5 +++-- ...ledb-sm-array_schema-enumeration.h.patch32 | 20 +++++++++++++++++++ ...b-sm-fragment-fragment_metadata.cc.patch32 | 16 +++++++-------- 3 files changed, 31 insertions(+), 10 deletions(-) create mode 100644 packages/libtiledb/tiledb-sm-array_schema-enumeration.h.patch32 diff --git a/packages/libtiledb/build.sh b/packages/libtiledb/build.sh index d25db0c9b8..430cbac73e 100644 --- a/packages/libtiledb/build.sh +++ b/packages/libtiledb/build.sh @@ -2,9 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://tiledb.com/ TERMUX_PKG_DESCRIPTION="A powerful engine for storing and accessing dense and sparse multi-dimensional arrays" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=2.14.0 +TERMUX_PKG_VERSION="2.17.1" TERMUX_PKG_SRCURL=https://github.com/TileDB-Inc/TileDB/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=e161d7988fa6e4e2e6238e25cbc0941bb2ed5eb375257d96ad7ce518864cd7f4 +TERMUX_PKG_SHA256=b9419fd8fb57d84a898d662fdf0cfb7231da3bf25e088bf1446bf9dcd2760fda +TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="ca-certificates, file, libbz2, libc++, liblz4, libspdlog, openssl, zlib, zstd" TERMUX_PKG_BUILD_DEPENDS="clipp, fmt" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" diff --git a/packages/libtiledb/tiledb-sm-array_schema-enumeration.h.patch32 b/packages/libtiledb/tiledb-sm-array_schema-enumeration.h.patch32 new file mode 100644 index 0000000000..f81aa6bf03 --- /dev/null +++ b/packages/libtiledb/tiledb-sm-array_schema-enumeration.h.patch32 @@ -0,0 +1,20 @@ +--- a/tiledb/sm/array_schema/enumeration.h ++++ b/tiledb/sm/array_schema/enumeration.h +@@ -278,7 +278,7 @@ + size of the buffer pointed to. + */ + span data() const { +- return {static_cast(data_.data()), data_.size()}; ++ return {static_cast(data_.data()), static_cast(data_.size())}; + } + + /** +@@ -288,7 +288,7 @@ + * the size of the buffer pointed to. + */ + span offsets() const { +- return {static_cast(offsets_.data()), offsets_.size()}; ++ return {static_cast(offsets_.data()), static_cast(offsets_.size())}; + } + + /** diff --git a/packages/libtiledb/tiledb-sm-fragment-fragment_metadata.cc.patch32 b/packages/libtiledb/tiledb-sm-fragment-fragment_metadata.cc.patch32 index 8ba7e51783..ead19bef64 100644 --- a/packages/libtiledb/tiledb-sm-fragment-fragment_metadata.cc.patch32 +++ b/packages/libtiledb/tiledb-sm-fragment-fragment_metadata.cc.patch32 @@ -1,27 +1,27 @@ --- a/tiledb/sm/fragment/fragment_metadata.cc +++ b/tiledb/sm/fragment/fragment_metadata.cc -@@ -1719,11 +1719,11 @@ - tile_min_var_buffer_[idx].size() - min_offset : - offsets[tile_idx + 1] - min_offset; +@@ -1725,11 +1725,11 @@ + } + char* min = &tile_min_var_buffer_[idx][min_offset]; - return {min, size}; + return {min, static_cast(size)}; } else { - auto size = array_schema_->cell_size(name); + auto size = static_cast(array_schema_->cell_size(name)); void* min = &tile_min_buffer_[idx][tile_idx * size]; - return {static_cast(min), size}; + return {static_cast(min), static_cast(size)}; } } -@@ -1792,11 +1792,11 @@ - tile_max_var_buffer_[idx].size() - max_offset : - offsets[tile_idx + 1] - max_offset; +@@ -1805,11 +1805,11 @@ + } + char* max = &tile_max_var_buffer_[idx][max_offset]; - return {max, size}; + return {max, static_cast(size)}; } else { - auto size = array_schema_->cell_size(name); + auto size = static_cast(array_schema_->cell_size(name)); void* max = &tile_max_buffer_[idx][tile_idx * size]; - return {static_cast(max), size}; + return {static_cast(max), static_cast(size)};