[flatbuffers] update to 23.3.3 (#30083)

* [flatbuffers] update to 23.3.3

* update version
This commit is contained in:
JonLiu1993 2023-03-10 04:24:28 +08:00 committed by GitHub
parent eb018410c0
commit c8047075aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 20 deletions

View File

@ -1,13 +0,0 @@
diff --git a/include/flatbuffers/base.h b/include/flatbuffers/base.h
index 86688cc6e40..219b6d308ac 100644
--- a/include/flatbuffers/base.h
+++ b/include/flatbuffers/base.h
@@ -233,7 +233,7 @@ namespace flatbuffers {
}
#define FLATBUFFERS_HAS_STRING_VIEW 1
// Check for absl::string_view
- #elif __has_include("absl/strings/string_view.h")
+ #elif __has_include("absl/strings/string_view.h") && (__cplusplus >= 201411)
#include "absl/strings/string_view.h"
namespace flatbuffers {
typedef absl::string_view string_view;

View File

@ -4,11 +4,10 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/flatbuffers
REF "v${VERSION}"
SHA512 fa62188f773ad044644a58caf1e25bef417dfdea47c9da8a2ea7f997154b4f3976019e32e73cc533696a3d4e45ec4a8402b6df140878dfa2ff078740d61b4b0f
SHA512 4066c94f2473c7ea16917d29a613e16f840a329089c88e0bdbdb999aef3442ba00abfd2aa92266fa9c067e399dc88e6f0ccac40dc151378857e665638e78bbf0
HEAD_REF master
PATCHES
fix-uwp-build.patch
fix-abseil-cxx14.patch
)
set(options "")
@ -45,4 +44,4 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,7 +1,6 @@
{
"name": "flatbuffers",
"version": "23.1.21",
"port-version": 2,
"version": "23.3.3",
"description": [
"Memory Efficient Serialization Library",
"FlatBuffers is an efficient cross platform serialization library for games and other memory constrained apps. It allows you to directly access serialized data without unpacking/parsing it first, while still having great forwards/backwards compatibility."

View File

@ -2465,8 +2465,8 @@
"port-version": 0
},
"flatbuffers": {
"baseline": "23.1.21",
"port-version": 2
"baseline": "23.3.3",
"port-version": 0
},
"flecs": {
"baseline": "3.1.4",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "007f5be0ca9f1fb0e4cd747153edafe584f3e090",
"version": "23.3.3",
"port-version": 0
},
{
"git-tree": "8079babd92cd3c1a80b224beb8f034b1a912a8b6",
"version": "23.1.21",