commit 5813020166b825a90126e64f9bddad8b1e2da938
Author: Jakub Bogusz <[email protected]>
Date:   Tue Mar 12 19:27:18 2019 +0100

    - added update patch (adjust for protobuf 3.7.0 changes); release 2

 protobuf-c-update.patch | 11 +++++++++++
 protobuf-c.spec         |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/protobuf-c.spec b/protobuf-c.spec
index 7fb1eb0..cf64e3b 100644
--- a/protobuf-c.spec
+++ b/protobuf-c.spec
@@ -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}
diff --git a/protobuf-c-update.patch b/protobuf-c-update.patch
new file mode 100644
index 0000000..3125943
--- /dev/null
+++ b/protobuf-c-update.patch
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/protobuf-c.git/commitdiff/5813020166b825a90126e64f9bddad8b1e2da938

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to