pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/protobuf protobuf: updated to 3.14.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6759e6d648b
branches:  trunk
changeset: 441937:f6759e6d648b
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Nov 14 14:07:40 2020 +0000

description:
protobuf: updated to 3.14.0

Protocol Buffers v3.14.0

Protocol Compiler

The proto compiler no longer requires a .proto filename when it is not
generating code.
Added flag --deterministic_output to protoc --encode=....
Fixed deadlock when using google.protobuf.Any embedded in aggregate options.

C++

Arenas are now unconditionally enabled. cc_enable_arenas no longer has
any effect.
Removed inlined string support, which is incompatible with arenas.
Fix a memory corruption bug in reflection when mixing optional and
non-optional fields.
Make SpaceUsed() calculation more thorough for map fields.
Add stack overflow protection for text format with unknown field values.
FieldPath::FollowAll() now returns a bool to signal if an out-of-bounds
error was encountered.
Performance improvements for Map.
Minor formatting fix when dumping a descriptor to .proto format with
DebugString.
UBSAN fix in RepeatedField.
When running under ASAN, skip a test that makes huge allocations.
Fixed a crash that could happen when creating more than 256 extensions in
a single message.
Fix a crash in BuildFile when passing in invalid descriptor proto.
Parser security fix when operating with CodedInputStream.
Warn against the use of AllowUnknownExtension.
Migrated to C++11 for-range loops instead of index-based loops where
possible. This fixes a lot of warnings when compiling with -Wsign-compare.
Fix segment fault for proto3 optional
Adds a CMake option to build libprotoc separately

diffstat:

 devel/protobuf/Makefile |   4 ++--
 devel/protobuf/PLIST    |   4 +---
 devel/protobuf/distinfo |  10 +++++-----
 3 files changed, 8 insertions(+), 10 deletions(-)

diffs (54 lines):

diff -r 5fb0939081ad -r f6759e6d648b devel/protobuf/Makefile
--- a/devel/protobuf/Makefile   Sat Nov 14 12:44:02 2020 +0000
+++ b/devel/protobuf/Makefile   Sat Nov 14 14:07:40 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2020/10/25 12:51:24 nia Exp $
+# $NetBSD: Makefile,v 1.35 2020/11/14 14:07:40 adam Exp $
 
-DISTNAME=      protobuf-cpp-3.13.0
+DISTNAME=      protobuf-cpp-3.14.0
 PKGNAME=       ${DISTNAME:S/-cpp//}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=protocolbuffers/}
diff -r 5fb0939081ad -r f6759e6d648b devel/protobuf/PLIST
--- a/devel/protobuf/PLIST      Sat Nov 14 12:44:02 2020 +0000
+++ b/devel/protobuf/PLIST      Sat Nov 14 14:07:40 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2019/10/04 10:37:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.14 2020/11/14 14:07:40 adam Exp $
 bin/protoc
 include/google/protobuf/any.h
 include/google/protobuf/any.pb.h
@@ -47,7 +47,6 @@
 include/google/protobuf/generated_message_util.h
 include/google/protobuf/has_bits.h
 include/google/protobuf/implicit_weak_message.h
-include/google/protobuf/inlined_string_field.h
 include/google/protobuf/io/coded_stream.h
 include/google/protobuf/io/gzip_stream.h
 include/google/protobuf/io/io_win32.h
@@ -84,7 +83,6 @@
 include/google/protobuf/stubs/callback.h
 include/google/protobuf/stubs/casts.h
 include/google/protobuf/stubs/common.h
-include/google/protobuf/stubs/fastmem.h
 include/google/protobuf/stubs/hash.h
 include/google/protobuf/stubs/logging.h
 include/google/protobuf/stubs/macros.h
diff -r 5fb0939081ad -r f6759e6d648b devel/protobuf/distinfo
--- a/devel/protobuf/distinfo   Sat Nov 14 12:44:02 2020 +0000
+++ b/devel/protobuf/distinfo   Sat Nov 14 14:07:40 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.39 2020/08/21 11:29:18 adam Exp $
+$NetBSD: distinfo,v 1.40 2020/11/14 14:07:40 adam Exp $
 
-SHA1 (protobuf-cpp-3.13.0.tar.gz) = 3a7d5c07404764298aa8d77aa13910baffc491f3
-RMD160 (protobuf-cpp-3.13.0.tar.gz) = 830be272ab19ebdabeb5e086e2a0b626f9c1611c
-SHA512 (protobuf-cpp-3.13.0.tar.gz) = 89a3d6207d14cc9afbd50a514a7c0f781c0e530bdbbe720e7e2f645301cdf59fb6772d5a95aea4a35ebcb2e17a738d8fdba8314fbc3aa6f34a97427ccf0c7342
-Size (protobuf-cpp-3.13.0.tar.gz) = 4638758 bytes
+SHA1 (protobuf-cpp-3.14.0.tar.gz) = 4cc1a23af0590bf799b61782a937d8b24d7e7986
+RMD160 (protobuf-cpp-3.14.0.tar.gz) = fe51ace0b3af284d0539be82199acd9d14ff5244
+SHA512 (protobuf-cpp-3.14.0.tar.gz) = 021a377a2bcfb1ee540e49371d1d7297d77359fd0de7b4a079918e8580258a7ee14256a9b392853dc6744e88d63b2fae723ab61cc9af599828f07f48b0161c74
+Size (protobuf-cpp-3.14.0.tar.gz) = 4655133 bytes
 SHA1 (patch-configure) = 22a1fc4e701b348772b3e2e4c68aad3b97032cc5
 SHA1 (patch-third__party_googletest_googlemock_configure) = fe3b812e819130d87d99316144507d2454461cd1



Home | Main Index | Thread Index | Old Index