]> git.pld-linux.org Git - packages/protobuf-c.git/commitdiff
- added update patch (adjust for protobuf 3.7.0 changes); release 2
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 12 Mar 2019 18:27:18 +0000 (19:27 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 12 Mar 2019 18:27:18 +0000 (19:27 +0100)
protobuf-c-update.patch [new file with mode: 0644]
protobuf-c.spec

diff --git a/protobuf-c-update.patch b/protobuf-c-update.patch
new file mode 100644 (file)
index 0000000..3125943
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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
index 7fb1eb08700a774645bad096a16c1c04f2a184d9..cf64e3bc3be782ef9dad040aa6a497dd8a9c7ad3 100644 (file)
@@ -6,12 +6,13 @@ Summary:      C bindings for Google's Protocol Buffers
 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
@@ -64,6 +65,7 @@ Statyczna biblioteka protobuf-c.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.11497 seconds and 4 git commands to generate.