Here's a relatively simple update to protobuf 3.10.1. This again skips a few versions. The main change of 3.10.0 is that the parser was switched which resulted in quite a number of symbol removals, so a major bump is required.
The release notes are here: https://github.com/protocolbuffers/protobuf/releases I don't have access to an arm64 build machine so I can't check whether the -O1 workaround is still needed, so I left it in. I built and lightly tested the following ports on amd64. audio/mumble devel/protobuf-c devel/protozero geo/libosmium geo/mapserver geo/osm2pgrouting geo/osm2pgsql geo/pgrouting geo/postgis net/dnsdist net/libsignal-protocol-c net/mosh net/ocserv net/openconnect net/profanity Index: Makefile =================================================================== RCS file: /var/cvs/ports/devel/protobuf/Makefile,v retrieving revision 1.28 diff -u -p -r1.28 Makefile --- Makefile 10 Aug 2019 22:23:11 -0000 1.28 +++ Makefile 8 Nov 2019 16:04:51 -0000 @@ -2,16 +2,15 @@ COMMENT = c++ protocol buffers -V = 3.9.1 +V = 3.10.1 DISTNAME = protobuf-cpp-$V PKGNAME = protobuf-$V -REVISION = 0 WRKDIST = ${WRKDIR}/protobuf-${V} -SHARED_LIBS += protobuf 4.0 # 20.0 -SHARED_LIBS += protoc 4.0 # 20.0 -SHARED_LIBS += protobuf-lite 4.0 # 20.0 +SHARED_LIBS += protobuf 5.0 # 21.1 +SHARED_LIBS += protoc 5.0 # 21.1 +SHARED_LIBS += protobuf-lite 5.0 # 21.1 CATEGORIES = devel Index: distinfo =================================================================== RCS file: /var/cvs/ports/devel/protobuf/distinfo,v retrieving revision 1.7 diff -u -p -r1.7 distinfo --- distinfo 10 Aug 2019 10:03:41 -0000 1.7 +++ distinfo 8 Nov 2019 07:11:30 -0000 @@ -1,2 +1,2 @@ -SHA256 (protobuf-cpp-3.9.1.tar.gz) = KaHbO5vrzwVMVA8TQAVjEg/yn73YSbLHoJf/6dPVCOs= -SIZE (protobuf-cpp-3.9.1.tar.gz) = 4556914 +SHA256 (protobuf-cpp-3.10.1.tar.gz) = 6C7lvd4ZjgoZNeKAdIqGp5iUdOp3FBii/ZDwPi5luZs= +SIZE (protobuf-cpp-3.10.1.tar.gz) = 4598421 Index: pkg/PLIST =================================================================== RCS file: /var/cvs/ports/devel/protobuf/pkg/PLIST,v retrieving revision 1.4 diff -u -p -r1.4 PLIST --- pkg/PLIST 31 Jul 2019 20:58:10 -0000 1.4 +++ pkg/PLIST 8 Nov 2019 10:48:13 -0000 @@ -62,6 +62,7 @@ include/google/protobuf/inlined_string_f include/google/protobuf/io/ include/google/protobuf/io/coded_stream.h include/google/protobuf/io/gzip_stream.h +include/google/protobuf/io/io_win32.h include/google/protobuf/io/printer.h include/google/protobuf/io/strtod.h include/google/protobuf/io/tokenizer.h