No consumers in tree, but a security/qdigidoc4 update will pick it up. -Werror usage is now behind a default-off option.
100% Tests pass on amd64. Feedback? OK? Index: Makefile =================================================================== RCS file: /cvs/ports/devel/flatbuffers/Makefile,v retrieving revision 1.6 diff -u -p -r1.6 Makefile --- Makefile 20 Feb 2023 16:35:20 -0000 1.6 +++ Makefile 13 Aug 2023 10:06:55 -0000 @@ -2,10 +2,9 @@ COMMENT= memory optimized serialization GH_ACCOUNT= google GH_PROJECT= flatbuffers -GH_TAGNAME= v2.0.0 -REVISION= 0 +GH_TAGNAME= v23.5.26 -SHARED_LIBS= flatbuffers 1.0 # 2.0.0 +SHARED_LIBS= flatbuffers 2.0 # 2.0.0 CATEGORIES= devel HOMEPAGE= https://google.github.io/flatbuffers/ Index: distinfo =================================================================== RCS file: /cvs/ports/devel/flatbuffers/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo 24 May 2021 18:01:03 -0000 1.2 +++ distinfo 13 Aug 2023 10:07:01 -0000 @@ -1,2 +1,2 @@ -SHA256 (flatbuffers-2.0.0.tar.gz) = nduQMXmPT4dU0A/KLxpo7PnQ+D36xyOa8TEeT9mlZcQ= -SIZE (flatbuffers-2.0.0.tar.gz) = 1538022 +SHA256 (flatbuffers-23.5.26.tar.gz) = HM4GsXzd2Ja21zzAR+NqJU+4301+oYpGrPFsTAzT8/M= +SIZE (flatbuffers-23.5.26.tar.gz) = 2257271 Index: patches/patch-CMakeLists_txt =================================================================== RCS file: patches/patch-CMakeLists_txt diff -N patches/patch-CMakeLists_txt --- patches/patch-CMakeLists_txt 11 Mar 2022 18:50:02 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,23 +0,0 @@ - -Werror considered harmful - -Index: CMakeLists.txt ---- CMakeLists.txt.orig -+++ CMakeLists.txt -@@ -223,7 +223,7 @@ elseif(CMAKE_COMPILER_IS_GNUCXX) - "${CMAKE_CXX_FLAGS} -std=c++0x") - endif(CYGWIN) - set(CMAKE_CXX_FLAGS -- "${CMAKE_CXX_FLAGS} -Wall -pedantic -Werror -Wextra -Werror=shadow") -+ "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -Werror=shadow") - set(FLATBUFFERS_PRIVATE_CXX_FLAGS "-Wold-style-cast") - if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.4) - if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0) -@@ -241,7 +241,7 @@ elseif(CMAKE_COMPILER_IS_GNUCXX) - - elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") - set(CMAKE_CXX_FLAGS -- "${CMAKE_CXX_FLAGS} -std=c++0x -Wall -pedantic -Werror -Wextra -Wno-unused-parameter") -+ "${CMAKE_CXX_FLAGS} -std=c++0x -Wall -pedantic -Wextra -Wno-unused-parameter") - set(FLATBUFFERS_PRIVATE_CXX_FLAGS "-Wold-style-cast") - if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.8) - list(APPEND FLATBUFFERS_PRIVATE_CXX_FLAGS "-Wimplicit-fallthrough" "-Wextra-semi" "-Werror=unused-private-field") # enable warning Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/flatbuffers/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 11 Mar 2022 18:50:02 -0000 1.3 +++ pkg/PLIST 13 Aug 2023 10:16:17 -0000 @@ -1,9 +1,19 @@ @bin bin/flatc include/flatbuffers/ +include/flatbuffers/allocator.h +include/flatbuffers/array.h include/flatbuffers/base.h +include/flatbuffers/buffer.h +include/flatbuffers/buffer_ref.h +include/flatbuffers/code_generator.h include/flatbuffers/code_generators.h +include/flatbuffers/default_allocator.h +include/flatbuffers/detached_buffer.h +include/flatbuffers/file_manager.h +include/flatbuffers/flatbuffer_builder.h include/flatbuffers/flatbuffers.h include/flatbuffers/flatc.h +include/flatbuffers/flex_flat_util.h include/flatbuffers/flexbuffers.h include/flatbuffers/grpc.h include/flatbuffers/hash.h @@ -16,14 +26,21 @@ include/flatbuffers/reflection.h include/flatbuffers/reflection_generated.h include/flatbuffers/registry.h include/flatbuffers/stl_emulation.h +include/flatbuffers/string.h +include/flatbuffers/struct.h +include/flatbuffers/table.h include/flatbuffers/util.h +include/flatbuffers/vector.h +include/flatbuffers/vector_downward.h +include/flatbuffers/verifier.h lib/cmake/ lib/cmake/flatbuffers/ -lib/cmake/flatbuffers/FlatbuffersConfig.cmake -lib/cmake/flatbuffers/FlatbuffersConfigVersion.cmake -lib/cmake/flatbuffers/FlatbuffersSharedTargets${MODCMAKE_BUILD_SUFFIX} -lib/cmake/flatbuffers/FlatbuffersSharedTargets.cmake +lib/cmake/flatbuffers/BuildFlatBuffers.cmake +lib/cmake/flatbuffers/FlatBuffersSharedTargets${MODCMAKE_BUILD_SUFFIX} +lib/cmake/flatbuffers/FlatBuffersSharedTargets.cmake lib/cmake/flatbuffers/FlatcTargets${MODCMAKE_BUILD_SUFFIX} lib/cmake/flatbuffers/FlatcTargets.cmake +lib/cmake/flatbuffers/flatbuffers-config-version.cmake +lib/cmake/flatbuffers/flatbuffers-config.cmake @lib lib/libflatbuffers.so.${LIBflatbuffers_VERSION} lib/pkgconfig/flatbuffers.pc