devel/flatbuffers: Update 2.0.5 -> 2.0.6

Forked 2.0.5 as devel/flatbuffers205.

Several dependencies use flatbuffers headers generated
by previous versions of flatbuffers which from now on
will be incompatible with newer flatbuffers versions.

PR:		263552
Reported by:	jbeich@
This commit is contained in:
Yuri Victorovich 2022-05-14 14:33:43 -07:00
parent 686ddaa36a
commit 00e2063244
14 changed files with 92 additions and 14 deletions

View File

@ -692,6 +692,7 @@
SUBDIR += flang
SUBDIR += flang-clang
SUBDIR += flatbuffers
SUBDIR += flatbuffers205
SUBDIR += flatcc
SUBDIR += flatzebra
SUBDIR += flex-sdk

View File

@ -2,7 +2,7 @@
PORTNAME= flatbuffers
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.5
DISTVERSION= 2.0.6
PORTEPOCH= 1
CATEGORIES= devel

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1643215699
SHA256 (google-flatbuffers-v2.0.5_GH0.tar.gz) = b01e97c988c429e164c5c7df9e87c80007ca87f593c0d73733ba536ddcbc8f98
SIZE (google-flatbuffers-v2.0.5_GH0.tar.gz) = 1671969
TIMESTAMP = 1652459218
SHA256 (google-flatbuffers-v2.0.6_GH0.tar.gz) = e2dc24985a85b278dd06313481a9ca051d048f9474e0f199e372fea3ea4248c9
SIZE (google-flatbuffers-v2.0.6_GH0.tar.gz) = 1724250

View File

@ -37,5 +37,5 @@ lib/cmake/flatbuffers/FlatcTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/flatbuffers/FlatcTargets.cmake
lib/libflatbuffers.so
lib/libflatbuffers.so.2
lib/libflatbuffers.so.2.0.5
lib/libflatbuffers.so.2.0.6
libdata/pkgconfig/flatbuffers.pc

View File

@ -0,0 +1,28 @@
# Created by: Yuri Victorovich <yuri@rawbw.com>
PORTNAME= flatbuffers
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.5
CATEGORIES= devel
PKGNAMESUFFIX= 205
MAINTAINER= yuri@FreeBSD.org
COMMENT= Memory efficient serialization library
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cmake:testing compiler:c++11-lib cpe python:build
CPE_VENDOR= google
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= google
CMAKE_ON= FLATBUFFERS_BUILD_SHAREDLIB
CMAKE_OFF= FLATBUFFERS_BUILD_FLATLIB FLATBUFFERS_BUILD_TESTS
CMAKE_TESTING_ON= FLATBUFFERS_BUILD_TESTS # one test fails, see https://github.com/google/flatbuffers/issues/7009
BINARY_ALIAS= git=false python3=${PYTHON_CMD}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1643215699
SHA256 (google-flatbuffers-v2.0.5_GH0.tar.gz) = b01e97c988c429e164c5c7df9e87c80007ca87f593c0d73733ba536ddcbc8f98
SIZE (google-flatbuffers-v2.0.5_GH0.tar.gz) = 1671969

View File

@ -0,0 +1,3 @@
Memory efficient serialization library.
WWW: http://google.github.io/flatbuffers/

View File

@ -0,0 +1,41 @@
bin/flatc
include/flatbuffers/allocator.h
include/flatbuffers/array.h
include/flatbuffers/base.h
include/flatbuffers/bfbs_generator.h
include/flatbuffers/buffer.h
include/flatbuffers/buffer_ref.h
include/flatbuffers/code_generators.h
include/flatbuffers/default_allocator.h
include/flatbuffers/detached_buffer.h
include/flatbuffers/flatbuffer_builder.h
include/flatbuffers/flatbuffers.h
include/flatbuffers/flatc.h
include/flatbuffers/flexbuffers.h
include/flatbuffers/grpc.h
include/flatbuffers/hash.h
include/flatbuffers/idl.h
include/flatbuffers/minireflect.h
include/flatbuffers/pch/flatc_pch.h
include/flatbuffers/pch/pch.h
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/flatbuffers/FlatbuffersConfig.cmake
lib/cmake/flatbuffers/FlatbuffersConfigVersion.cmake
lib/cmake/flatbuffers/FlatbuffersSharedTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/flatbuffers/FlatbuffersSharedTargets.cmake
lib/cmake/flatbuffers/FlatcTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/flatbuffers/FlatcTargets.cmake
lib/libflatbuffers.so
lib/libflatbuffers.so.2
lib/libflatbuffers.so.2.0.5
libdata/pkgconfig/flatbuffers.pc

View File

@ -1,6 +1,7 @@
PORTNAME= rpcs3
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.22-13597 # git rev-list --count HEAD
PORTREVISION= 1
DISTVERSIONSUFFIX= -g1e1b111678
CATEGORIES= emulators
@ -12,7 +13,7 @@ LICENSE_COMB= multi
LICENSE_FILE_ISCL= ${WRKSRC_cubeb}/LICENSE
LICENSE_FILE_ZLIB= ${WRKSRC_asmjit}/LICENSE.md
BUILD_DEPENDS= flatbuffers>0:devel/flatbuffers
BUILD_DEPENDS= flatc:devel/flatbuffers205 # until https://github.com/RPCS3/rpcs3/issues/12011 is fixed
LIB_DEPENDS= libxxhash.so:devel/xxhash \
libcurl.so:ftp/curl \
libpng.so:graphics/png \

View File

@ -1,6 +1,6 @@
PORTNAME= mnn
DISTVERSION= 1.2.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= misc # machine-learning
MAINTAINER= yuri@FreeBSD.org
@ -11,7 +11,7 @@ LICENSE= APACHE20
BROKEN_i386= always_inline function '_mm_set1_ps' requires target feature 'sse', but would be inlined into function 'Vec4' that is compiled without support for 'sse'
BUILD_DEPENDS= bash:shells/bash \
flatc:devel/flatbuffers
flatc:devel/flatbuffers205 # until https://github.com/alibaba/MNN/issues/1922 is fixed
USES= cmake compiler:c++11-lang localbase shebangfix
USE_GITHUB= yes

View File

@ -1,6 +1,6 @@
PORTNAME= nn-insight
DISTVERSION= 1.0.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc # machine-learning
MAINTAINER= yuri@FreeBSD.org
@ -10,7 +10,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= avir>0:graphics/avir \
flatbuffers>0:devel/flatbuffers \
flatc:devel/flatbuffers205 \
half>0:math/half \
nlohmann-json>0:devel/nlohmann-json \
png++>0:graphics/png++

View File

@ -1,7 +1,7 @@
PORTNAME= kodi
DISTVERSION= 19.4
DISTVERSIONSUFFIX= -${KODI_CODENAME}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= multimedia java
MAINTAINER= yzrh@noema.org

View File

@ -1,5 +1,6 @@
PORTNAME= chrono
DISTVERSION= 7.0.3
PORTREVISION= 1
CATEGORIES= science devel
PKGNAMESUFFIX= -physics-simulation-engine
@ -74,7 +75,7 @@ PARDISO_PROJECT_BROKEN= Not available for FreeBSD; License is restrictive
SENSOR_BROKEN= requires CUDA
SYNCHRONO_USES= localbase
SYNCHRONO_BUILD_DEPENDS= flatbuffers>0:devel/flatbuffers
SYNCHRONO_BUILD_DEPENDS= flatc:devel/flatbuffers205 # until https://github.com/projectchrono/chrono/issues/391 is fixed
SYNCHRONO_LIB_DEPENDS= libmpi.so:net/mpich
SYNCHRONO_IMPLIES= VEHICLE

View File

@ -2,7 +2,7 @@
PORTNAME= snort
DISTVERSION= 3.1.29.0
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= security
PKGNAMESUFFIX= 3
@ -46,7 +46,7 @@ TSC_DESC= Use timestamp counter register clock (x86 only)
ADDRESSSANITIZER_CMAKE_BOOL= ENABLE_ADDRESS_SANITIZER
DEBUG_CMAKE_BOOL= ENABLE_COREFILES ENABLE_GDB
DOCS_CMAKE_BOOL= MAKE_HTML_DOC MAKE_PDF_DOC MAKE_TEXT_DOC
FLATBUFFERS_LIB_DEPENDS=libflatbuffers.so:devel/flatbuffers
FLATBUFFERS_LIB_DEPENDS=flatc:devel/flatbuffers205 # until https://github.com/snort3/snort3/issues/250 is fixed
HYPERSCAN_LIB_DEPENDS= libhs.so:devel/hyperscan
HYPERSCAN_PLIST_SUB= HYPERSCAN=""
HYPERSCAN_PLIST_SUB_OFF=HYPERSCAN="@comment "