--- /dev/null
+--- protobuf-c-1.3.1/t/generated-code2/cxx-generate-packed-data.cc.orig 2018-08-14 06:00:07.000000000 +0200
++++ protobuf-c-1.3.1/t/generated-code2/cxx-generate-packed-data.cc 2019-03-12 19:19:18.570316346 +0100
+@@ -998,7 +998,7 @@
+ 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
Summary(pl.UTF-8): Wiązania C do biblioteki Google Protocol Buffers
Name: protobuf-c
Version: 1.3.1
-Release: 1
+Release: 2
License: Apache v2.0
Group: Libraries
#Source0Download: https://github.com/protobuf-c/protobuf-c/releases
Source0: https://github.com/protobuf-c/protobuf-c/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: ab3aa79312ed7b1fca401c8682e3aa7a
+Patch0: %{name}-update.patch
URL: https://github.com/protobuf-c/protobuf-c
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1:1.11
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}