Upgrade devel/protobuf-c to version 1.3.2:

[ Robert Edmonds ]
  * Release 1.3.2.

  * Use protobuf 3.7.1 in the Travis-CI environment (#368).

  * Fix test suite build failure on newer versions of protobuf (#369).

  [ Ilya Lipnitskiy ]
  * Fix proto3 repeated scalar field default packing behavior (#330, #377).

  [ Adam Cozzette ]
  * Fix out-of-bounds read in scan_length_prefixed_data() (#375, #376).

  [ Jurriaan Bremer ]
  * Fix -Wdeclaration-after-statement warning in parse_oneof_member() (#360).

  [ Hayri Ugur Koltuk ]
  * Fix SIGSEGV in protobuf_c_message_check() on messages with unpopulated
    oneof members (#358).

  [ Italo Guerrieri ]
  * Do not allow tag values of 0 in protobuf messages, as these are not
    allowed by proto2 or proto3 (#299).

The patch for version 1.3.1 is no longer required.

Sort Makefile statements to pacify portlint.

Reported by:	portscout
Sponsored by:	Farsight Security, Inc.
This commit is contained in:
Don Lewis 2019-06-26 18:06:12 +00:00
parent 51c58d39d1
commit a0573b1007
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505176
3 changed files with 6 additions and 17 deletions

View file

@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= protobuf-c
PORTVERSION= 1.3.1
PORTVERSION= 1.3.2
DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= devel
MAINTAINER= truckman@FreeBSD.org
@ -16,10 +15,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libprotobuf.so:devel/protobuf
USES= autoreconf compiler:c++11-lang gmake libtool pkgconfig
GNU_CONFIGURE= yes
USE_GITHUB= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1534315586
SHA256 (protobuf-c-protobuf-c-v1.3.1_GH0.tar.gz) = 5eeec797d7ff1d4b1e507925a1780fad5dd8dd11163203d8832e5a9f20a79b08
SIZE (protobuf-c-protobuf-c-v1.3.1_GH0.tar.gz) = 128705
TIMESTAMP = 1561501851
SHA256 (protobuf-c-protobuf-c-v1.3.2_GH0.tar.gz) = 5205312e561b75b9d2db671b22f28d67afb5c7d1fef94a6f2d29d775ca4e0519
SIZE (protobuf-c-protobuf-c-v1.3.2_GH0.tar.gz) = 130176

View file

@ -1,11 +0,0 @@
--- t/generated-code2/cxx-generate-packed-data.cc.orig 2018-08-14 04:00:07 UTC
+++ t/generated-code2/cxx-generate-packed-data.cc
@@ -998,7 +998,7 @@ static void dump_test_packed_repeated_en
static void dump_test_unknown_fields (void)
{
EmptyMess mess;
- const google::protobuf::Message::Reflection *reflection = mess.GetReflection();
+ const google::protobuf::Reflection *reflection = mess.GetReflection();
google::protobuf::UnknownFieldSet *fs = reflection->MutableUnknownFields(&mess);
#if GOOGLE_PROTOBUF_VERSION >= 2001000