protobuf-c: update to 1.3.2.

This commit is contained in:
Enno Boland 2019-08-11 23:15:47 +02:00
parent 7dd267182c
commit e302ee7d92
No known key found for this signature in database
GPG key ID: D09964719BDE9971
2 changed files with 3 additions and 27 deletions

View file

@ -1,24 +0,0 @@
From 080724364a5aad61728f8eba57677467bf329088 Mon Sep 17 00:00:00 2001
From: storyun <joowoni91@gmail.com>
Date: Wed, 19 Sep 2018 11:34:48 +0900
Subject: [PATCH] Invalid namespace
google::protobuf::message::Reflaction is not exist namespace.
---
t/generated-code2/cxx-generate-packed-data.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/generated-code2/cxx-generate-packed-data.cc b/t/generated-code2/cxx-generate-packed-data.cc
index 4fd3e25..0865d2e 100644
--- t/generated-code2/cxx-generate-packed-data.cc
+++ t/generated-code2/cxx-generate-packed-data.cc
@@ -998,7 +998,7 @@ static void dump_test_packed_repeated_enum (void)
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

View file

@ -1,7 +1,7 @@
# Template file for 'protobuf-c'
pkgname=protobuf-c
version=1.3.1
revision=2
version=1.3.2
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable protoc)"
hostmakedepends="pkg-config protobuf"
@ -11,7 +11,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/protobuf-c/protobuf-c"
distfiles="${homepage}/releases/download/v${version}/protobuf-c-${version}.tar.gz"
checksum=51472d3a191d6d7b425e32b612e477c06f73fe23e07f6a6a839b11808e9d2267
checksum=53f251f14c597bdb087aecf0b63630f434d73f5a10fc1ac545073597535b9e74
# buildprocess calls compiler while building, disable it on cross build
build_options="protoc"