Subject: CVS commit: pkgsrc/devel
From: Adam Ciarcinski
Date: 2021-05-07 13:33:01
Message id: 20210507113301.D8764FA95@cvs.NetBSD.org

Log Message:
protobuf py-protobuf: updated to 3.16.0

Protocol Buffers v3.16.0

C++

Fix compiler warnings issue found in conformance_test_runner
Fix MinGW-w64 build issues.
[Protoc] C++ Resolved an issue where NO_DESTROY and CONSTINIT are in incorrect order
Fix PROTOBUF_CONSTINIT macro redefinition
Delete StringPiecePod
Fix gcc error: comparison of unsigned expression in '>= 0' is always …
Fix cmake install on iOS
Create a CMake option to control whether or not RTTI is enabled
Fix endian.h location on FreeBSD
Refactor util::Status
Make util::Status more similar to absl::Status
Fix -Wsuggest-destructor-override for generated C++ proto classes.
Refactor StatusOr and StringPiece
Refactor uint128
The ::pb namespace is no longer exposed due to conflicts.
Allow MessageDifferencer::TreatAsSet() (and friends) to override previous
calls instead of crashing.
Reduce the size of generated proto headers for protos with string or
bytes fields.
Move arena() operation on uncommon path to out-of-line routine
For iterator-pair function parameter types, take both iterators by value.
Code-space savings and perhaps some modest performance improvements in
RepeatedPtrField.
Eliminate nullptr check from every tag parse.
Remove unused _$name$cached_byte_size fields.
Serialize extension ranges together when not broken by a proto field in the
middle.
Do out-of-line allocation and deallocation of string object in ArenaString.
Streamline ParseContext::ParseMessage to avoid code bloat and improve
performance.
New member functions RepeatedField::Assign, RepeatedPtrField::{Add, Assign}.
Fix undefined behavior warning due to innocuous uninitialization of value
on an error path.
Avoid expensive inlined code space for encoding message length for messages
= 128 bytes and instead do a procedure call to a shared out-of-line routine.
util::DefaultFieldComparator will be final in a future version of protobuf.
Subclasses should inherit from SimpleFieldComparator instead.

Python

Fix some constness / char literal issues being found by MSVC standard conforming mode
Switch on "new" buffer API
Enable crosscompiling aarch64 python wheels under dockcross manylinux docker image
Fixed a bug in text format where a trailing colon was printed for repeated field.
When TextFormat encounters a duplicate message map key, replace the current
one instead of merging.

Files:
RevisionActionfile
1.44modifypkgsrc/devel/protobuf/Makefile
1.49modifypkgsrc/devel/protobuf/distinfo
1.41modifypkgsrc/devel/py-protobuf/Makefile
1.38modifypkgsrc/devel/py-protobuf/distinfo