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.10.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/510201652a07
branches: trunk
changeset: 341572:510201652a07
user: adam <adam%pkgsrc.org@localhost>
date: Fri Oct 04 10:37:49 2019 +0000
description:
protobuf: updated to 3.10.0
Protocol Buffers v3.10.0
C++
Switch the proto parser to the faster MOMI parser.
Properly escape Struct keys in the proto3 JSON serializer.
Fix crash on uninitialized map entries.
Informed the compiler of has-bit invariant to produce better code
Unused imports of files defining descriptor extensions will now be reported
Add proto2::util::RemoveSubranges to remove multiple subranges in linear time.
Added BaseTextGenerator::GetCurrentIndentationSize()
Made implicit weak fields compatible with the Apple linker
Support 32 bit values for ProtoStreamObjectWriter to Struct.
Removed the internal-only header coded_stream_inl.h and the internal-only methods defined there.
Enforced no SWIG wrapping of descriptor_database.h (other headers already had this restriction).
Implementation of the equivalent of the MOMI parser for serialization. This removes one of the two serialization routines, by making the fast array serialization routine completely general.
SerializeToCodedStream can now be implemented in terms of the much much faster array serialization. The array serialization regresses slightly, but when array serialization is not possible this wins
big.
Do not convert unknown field name to snake case to accurately report error.
Fix a UBSAN warnings.
Add podspec for C++
protoc: fix source code info location for missing label
C++ Add move constructor for Reflection's SetString
diffstat:
devel/protobuf/Makefile | 4 +-
devel/protobuf/PLIST | 3 +-
devel/protobuf/distinfo | 12 +++-----
devel/protobuf/patches/patch-src_google_protobuf_testing_zcgunzip.cc | 14 ----------
devel/protobuf/patches/patch-src_google_protobuf_testing_zcgzip.cc | 14 ----------
5 files changed, 9 insertions(+), 38 deletions(-)
diffs (84 lines):
diff -r ba8dad74ac77 -r 510201652a07 devel/protobuf/Makefile
--- a/devel/protobuf/Makefile Fri Oct 04 10:34:06 2019 +0000
+++ b/devel/protobuf/Makefile Fri Oct 04 10:37:49 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2019/08/09 09:06:34 adam Exp $
+# $NetBSD: Makefile,v 1.23 2019/10/04 10:37:49 adam Exp $
-DISTNAME= protobuf-cpp-3.9.1
+DISTNAME= protobuf-cpp-3.10.0
PKGNAME= ${DISTNAME:S/-cpp//}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
diff -r ba8dad74ac77 -r 510201652a07 devel/protobuf/PLIST
--- a/devel/protobuf/PLIST Fri Oct 04 10:34:06 2019 +0000
+++ b/devel/protobuf/PLIST Fri Oct 04 10:37:49 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2019/05/29 14:48:12 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2019/10/04 10:37:49 adam Exp $
bin/protoc
include/google/protobuf/any.h
include/google/protobuf/any.pb.h
@@ -50,6 +50,7 @@
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
include/google/protobuf/io/printer.h
include/google/protobuf/io/strtod.h
include/google/protobuf/io/tokenizer.h
diff -r ba8dad74ac77 -r 510201652a07 devel/protobuf/distinfo
--- a/devel/protobuf/distinfo Fri Oct 04 10:34:06 2019 +0000
+++ b/devel/protobuf/distinfo Fri Oct 04 10:37:49 2019 +0000
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.27 2019/08/09 09:06:34 adam Exp $
+$NetBSD: distinfo,v 1.28 2019/10/04 10:37:49 adam Exp $
-SHA1 (protobuf-cpp-3.9.1.tar.gz) = f2552500fbafaf9a9af534693aa7450c51d7a196
-RMD160 (protobuf-cpp-3.9.1.tar.gz) = c6e8fb3aaab436d5ebaac3af7751dfd58c821997
-SHA512 (protobuf-cpp-3.9.1.tar.gz) = b9b0a548de077ebbdc224c37cde0d6fad18110484e91c00ac555faa5bac51d449f091f4c8c430e5d4d50d112826281d85ee74a5fd915ade8e0de70996aaa2acd
-Size (protobuf-cpp-3.9.1.tar.gz) = 4556914 bytes
+SHA1 (protobuf-cpp-3.10.0.tar.gz) = 01f3871186d50364e5d6cea9bb2436c0343d2e9c
+RMD160 (protobuf-cpp-3.10.0.tar.gz) = 1995e96095f922ae817b3624c00f11b2533b6a6c
+SHA512 (protobuf-cpp-3.10.0.tar.gz) = bdf2c7b658376757b1df5b79d82606d868561bb69ee6ee5025c9a16df14cce67333d97ffa3b9736c157ab6153490f7943a21fe5264e9f4e4a6f782cd014116e2
+Size (protobuf-cpp-3.10.0.tar.gz) = 4599017 bytes
SHA1 (patch-configure) = 22a1fc4e701b348772b3e2e4c68aad3b97032cc5
-SHA1 (patch-src_google_protobuf_testing_zcgunzip.cc) = 7bd71bfa3b93f52add0d27fbdba5b8154173b8bf
-SHA1 (patch-src_google_protobuf_testing_zcgzip.cc) = e681eca4f267ad1135e0dbc6a1b2ba91492f40b4
SHA1 (patch-third__party_googletest_googlemock_configure) = fe3b812e819130d87d99316144507d2454461cd1
diff -r ba8dad74ac77 -r 510201652a07 devel/protobuf/patches/patch-src_google_protobuf_testing_zcgunzip.cc
--- a/devel/protobuf/patches/patch-src_google_protobuf_testing_zcgunzip.cc Fri Oct 04 10:34:06 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_google_protobuf_testing_zcgunzip.cc,v 1.1 2019/03/21 21:26:23 adam Exp $
-
-Fix testing.
-
---- src/google/protobuf/testing/zcgunzip.cc.orig 2019-03-21 20:16:57.000000000 +0000
-+++ src/google/protobuf/testing/zcgunzip.cc
-@@ -42,6 +42,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <fcntl.h>
-+#include <unistd.h>
-
- #ifdef _WIN32
- #ifndef STDIN_FILENO
diff -r ba8dad74ac77 -r 510201652a07 devel/protobuf/patches/patch-src_google_protobuf_testing_zcgzip.cc
--- a/devel/protobuf/patches/patch-src_google_protobuf_testing_zcgzip.cc Fri Oct 04 10:34:06 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_google_protobuf_testing_zcgzip.cc,v 1.1 2019/03/21 21:26:23 adam Exp $
-
-Fix testing.
-
---- src/google/protobuf/testing/zcgzip.cc.orig 2019-03-21 20:13:30.000000000 +0000
-+++ src/google/protobuf/testing/zcgzip.cc
-@@ -41,6 +41,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <fcntl.h>
-+#include <unistd.h>
-
- #ifdef _WIN32
- #ifndef STDIN_FILENO
Home |
Main Index |
Thread Index |
Old Index