aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-05-14 21:33:43 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-05-14 21:35:31 +0000
commit00e206324446713ae3e6ef3755698a4d3923c6f9 (patch)
tree6fa5760053897573d9ed682d5f5df69cc4e45c3e
parent686ddaa36ab447478150bfa689b86a00a533e8f0 (diff)
downloadports-00e206324446713ae3e6ef3755698a4d3923c6f9.tar.gz
ports-00e206324446713ae3e6ef3755698a4d3923c6f9.zip
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@
-rw-r--r--devel/Makefile1
-rw-r--r--devel/flatbuffers/Makefile2
-rw-r--r--devel/flatbuffers/distinfo6
-rw-r--r--devel/flatbuffers/pkg-plist2
-rw-r--r--devel/flatbuffers205/Makefile28
-rw-r--r--devel/flatbuffers205/distinfo3
-rw-r--r--devel/flatbuffers205/pkg-descr3
-rw-r--r--devel/flatbuffers205/pkg-plist41
-rw-r--r--emulators/rpcs3/Makefile3
-rw-r--r--misc/mnn/Makefile4
-rw-r--r--misc/nn-insight/Makefile4
-rw-r--r--multimedia/kodi/Makefile2
-rw-r--r--science/chrono/Makefile3
-rw-r--r--security/snort3/Makefile4
14 files changed, 92 insertions, 14 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 4d0a24210dde..b73096a26500 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -692,6 +692,7 @@
SUBDIR += flang
SUBDIR += flang-clang
SUBDIR += flatbuffers
+ SUBDIR += flatbuffers205
SUBDIR += flatcc
SUBDIR += flatzebra
SUBDIR += flex-sdk
diff --git a/devel/flatbuffers/Makefile b/devel/flatbuffers/Makefile
index 5faf3c7b6233..07098c169c25 100644
--- a/devel/flatbuffers/Makefile
+++ b/devel/flatbuffers/Makefile
@@ -2,7 +2,7 @@
PORTNAME= flatbuffers
DISTVERSIONPREFIX= v
-DISTVERSION= 2.0.5
+DISTVERSION= 2.0.6
PORTEPOCH= 1
CATEGORIES= devel
diff --git a/devel/flatbuffers/distinfo b/devel/flatbuffers/distinfo
index 6dc071823e33..12c5758dba20 100644
--- a/devel/flatbuffers/distinfo
+++ b/devel/flatbuffers/distinfo
@@ -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
diff --git a/devel/flatbuffers/pkg-plist b/devel/flatbuffers/pkg-plist
index 82c5f777939d..2039ce1b0f91 100644
--- a/devel/flatbuffers/pkg-plist
+++ b/devel/flatbuffers/pkg-plist
@@ -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
diff --git a/devel/flatbuffers205/Makefile b/devel/flatbuffers205/Makefile
new file mode 100644
index 000000000000..6a298c016d4a
--- /dev/null
+++ b/devel/flatbuffers205/Makefile
@@ -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>
diff --git a/devel/flatbuffers205/distinfo b/devel/flatbuffers205/distinfo
new file mode 100644
index 000000000000..6dc071823e33
--- /dev/null
+++ b/devel/flatbuffers205/distinfo
@@ -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
diff --git a/devel/flatbuffers205/pkg-descr b/devel/flatbuffers205/pkg-descr
new file mode 100644
index 000000000000..3964e8ac4b65
--- /dev/null
+++ b/devel/flatbuffers205/pkg-descr
@@ -0,0 +1,3 @@
+Memory efficient serialization library.
+
+WWW: http://google.github.io/flatbuffers/
diff --git a/devel/flatbuffers205/pkg-plist b/devel/flatbuffers205/pkg-plist
new file mode 100644
index 000000000000..82c5f777939d
--- /dev/null
+++ b/devel/flatbuffers205/pkg-plist
@@ -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
diff --git a/emulators/rpcs3/Makefile b/emulators/rpcs3/Makefile
index ae182ba70f02..b67e30d51c51 100644
--- a/emulators/rpcs3/Makefile
+++ b/emulators/rpcs3/Makefile
@@ -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 \
diff --git a/misc/mnn/Makefile b/misc/mnn/Makefile
index b610f2364b94..62d5f47b057b 100644
--- a/misc/mnn/Makefile
+++ b/misc/mnn/Makefile
@@ -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
diff --git a/misc/nn-insight/Makefile b/misc/nn-insight/Makefile
index a07f881e55b7..8a3ab5758084 100644
--- a/misc/nn-insight/Makefile
+++ b/misc/nn-insight/Makefile
@@ -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++
diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile
index 42b1a16a0daf..f8315eff5250 100644
--- a/multimedia/kodi/Makefile
+++ b/multimedia/kodi/Makefile
@@ -1,7 +1,7 @@
PORTNAME= kodi
DISTVERSION= 19.4
DISTVERSIONSUFFIX= -${KODI_CODENAME}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia java
MAINTAINER= yzrh@noema.org
diff --git a/science/chrono/Makefile b/science/chrono/Makefile
index ce6eef4bb35d..42b206a2f53c 100644
--- a/science/chrono/Makefile
+++ b/science/chrono/Makefile
@@ -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
diff --git a/security/snort3/Makefile b/security/snort3/Makefile
index 596639e34393..2c155e83fb7a 100644
--- a/security/snort3/Makefile
+++ b/security/snort3/Makefile
@@ -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 "