pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/protobuf-c protobuf-c: Pull in upstream build fix.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ec6d272f3b3
branches:  trunk
changeset: 331932:2ec6d272f3b3
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Mar 27 11:31:21 2019 +0000

description:
protobuf-c: Pull in upstream build fix.

diffstat:

 devel/protobuf-c/distinfo                                                    |   3 +-
 devel/protobuf-c/patches/patch-t_generated-code2_cxx-generate-packed-data.cc |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 007573f56fb4 -r 2ec6d272f3b3 devel/protobuf-c/distinfo
--- a/devel/protobuf-c/distinfo Wed Mar 27 11:24:44 2019 +0000
+++ b/devel/protobuf-c/distinfo Wed Mar 27 11:31:21 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2018/08/04 21:36:16 minskim Exp $
+$NetBSD: distinfo,v 1.6 2019/03/27 11:31:21 jperkin Exp $
 
 SHA1 (protobuf-c-1.3.0.tar.gz) = b1df242c1445e2cc22708ca1889f5ce63bcbfc6c
 RMD160 (protobuf-c-1.3.0.tar.gz) = 528c1ae07297990f1e3405db2e3129eef9823698
@@ -12,3 +12,4 @@
 SHA1 (patch-protoc-c_c__helpers.cc) = 236b1ead1a5f452cf8532507326bd6316e6c6c17
 SHA1 (patch-protoc-c_c__message.cc) = f36502a761f46cb555708ef14d26e4aec5725001
 SHA1 (patch-protoc-c_c__message.h) = b5f2761ab1f1f735fd0a795342b3479e6b253832
+SHA1 (patch-t_generated-code2_cxx-generate-packed-data.cc) = c23e890f088e51f1ce4e96a48f1bf3ea8b0f1d3a
diff -r 007573f56fb4 -r 2ec6d272f3b3 devel/protobuf-c/patches/patch-t_generated-code2_cxx-generate-packed-data.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/protobuf-c/patches/patch-t_generated-code2_cxx-generate-packed-data.cc      Wed Mar 27 11:31:21 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-t_generated-code2_cxx-generate-packed-data.cc,v 1.1 2019/03/27 11:31:21 jperkin Exp $
+
+Upstream fix https://github.com/protobuf-c/protobuf-c/pull/342
+
+--- t/generated-code2/cxx-generate-packed-data.cc.orig 2017-08-05 21:41:36.000000000 +0000
++++ 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



Home | Main Index | Thread Index | Old Index