git: c8233c847e84 - main - databases/tiledb: Update to 2.16.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 31 Jul 2023 16:45:28 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c8233c847e843e5ae9ca6952c437560f752c2ad5

commit c8233c847e843e5ae9ca6952c437560f752c2ad5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-31 16:29:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-31 16:39:47 +0000

    databases/tiledb: Update to 2.16.0
    
    Changes:        https://github.com/TileDB-Inc/TileDB/releases
---
 databases/tiledb/Makefile                          |  3 +--
 databases/tiledb/distinfo                          |  6 ++---
 .../patch-tiledb-sm-fragment-fragment_metadata.cc  | 30 ----------------------
 databases/tiledb/pkg-plist                         |  3 +++
 4 files changed, 7 insertions(+), 35 deletions(-)

diff --git a/databases/tiledb/Makefile b/databases/tiledb/Makefile
index e82cd290845d..f1f70a522540 100644
--- a/databases/tiledb/Makefile
+++ b/databases/tiledb/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	tiledb
-PORTVERSION=	2.15.4
-PORTREVISION=	1
+PORTVERSION=	2.16.0
 CATEGORIES=	databases
 
 MAINTAINER=	sunpoet@FreeBSD.org
diff --git a/databases/tiledb/distinfo b/databases/tiledb/distinfo
index 3027f4452481..9402118c0b98 100644
--- a/databases/tiledb/distinfo
+++ b/databases/tiledb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1686496700
-SHA256 (TileDB-Inc-TileDB-2.15.4_GH0.tar.gz) = 4c1b316fd626444ee4a8ae08c22f3e8a0acfe601fbc4e4683f2c490732d465d9
-SIZE (TileDB-Inc-TileDB-2.15.4_GH0.tar.gz) = 4124496
+TIMESTAMP = 1689398771
+SHA256 (TileDB-Inc-TileDB-2.16.0_GH0.tar.gz) = eaf47fbeb36a5fccce194b89a0101609c9122639b2c9ce590dce2e2c2b7f81f9
+SIZE (TileDB-Inc-TileDB-2.16.0_GH0.tar.gz) = 4266677
diff --git a/databases/tiledb/files/patch-tiledb-sm-fragment-fragment_metadata.cc b/databases/tiledb/files/patch-tiledb-sm-fragment-fragment_metadata.cc
deleted file mode 100644
index 390321055ebe..000000000000
--- a/databases/tiledb/files/patch-tiledb-sm-fragment-fragment_metadata.cc
+++ /dev/null
@@ -1,30 +0,0 @@
---- tiledb/sm/fragment/fragment_metadata.cc.orig	2023-04-26 01:28:54 UTC
-+++ tiledb/sm/fragment/fragment_metadata.cc
-@@ -1718,11 +1718,11 @@ std::string_view FragmentMetadata::get_tile_min_as<std
-                     tile_min_var_buffer_[idx].size() - min_offset :
-                     offsets[tile_idx + 1] - min_offset;
-     char* min = &tile_min_var_buffer_[idx][min_offset];
--    return {min, size};
-+    return {min, (std::size_t) size};
-   } else {
-     auto size = array_schema_->cell_size(name);
-     void* min = &tile_min_buffer_[idx][tile_idx * size];
--    return {static_cast<char*>(min), size};
-+    return {static_cast<char*>(min), (std::size_t) size};
-   }
- }
- 
-@@ -1791,11 +1791,11 @@ std::string_view FragmentMetadata::get_tile_max_as<std
-                     tile_max_var_buffer_[idx].size() - max_offset :
-                     offsets[tile_idx + 1] - max_offset;
-     char* max = &tile_max_var_buffer_[idx][max_offset];
--    return {max, size};
-+    return {max, (std::size_t) size};
-   } else {
-     auto size = array_schema_->cell_size(name);
-     void* max = &tile_max_buffer_[idx][tile_idx * size];
--    return {static_cast<char*>(max), size};
-+    return {static_cast<char*>(max), (std::size_t) size};
-   }
- }
- 
diff --git a/databases/tiledb/pkg-plist b/databases/tiledb/pkg-plist
index d0664c6038b8..ef2f977a59a4 100644
--- a/databases/tiledb/pkg-plist
+++ b/databases/tiledb/pkg-plist
@@ -1,11 +1,13 @@
 include/tiledb/api/c_api/api_external_common.h
 include/tiledb/api/c_api/buffer/buffer_api_external.h
+include/tiledb/api/c_api/buffer_list/buffer_list_api_external.h
 include/tiledb/api/c_api/config/config_api_external.h
 include/tiledb/api/c_api/context/context_api_external.h
 include/tiledb/api/c_api/data_order/data_order_api_enum.h
 include/tiledb/api/c_api/data_order/data_order_api_external.h
 include/tiledb/api/c_api/datatype/datatype_api_enum.h
 include/tiledb/api/c_api/datatype/datatype_api_external.h
+include/tiledb/api/c_api/dimension/dimension_api_external.h
 include/tiledb/api/c_api/dimension_label/dimension_label_api_external.h
 include/tiledb/api/c_api/error/error_api_external.h
 include/tiledb/api/c_api/filesystem/filesystem_api_enum.h
@@ -19,6 +21,7 @@ include/tiledb/api/c_api/object/object_api_enum.h
 include/tiledb/api/c_api/object/object_api_external.h
 include/tiledb/api/c_api/query/query_api_enum.h
 include/tiledb/api/c_api/query/query_api_external.h
+include/tiledb/api/c_api/query_plan/query_plan_api_external_experimental.h
 include/tiledb/api/c_api/string/string_api_external.h
 include/tiledb/api/c_api/vfs/vfs_api_enum.h
 include/tiledb/api/c_api/vfs/vfs_api_external.h