pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/protobuf-c



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Mar 27 11:31:21 UTC 2019

Modified Files:
        pkgsrc/devel/protobuf-c: distinfo
Added Files:
        pkgsrc/devel/protobuf-c/patches:
            patch-t_generated-code2_cxx-generate-packed-data.cc

Log Message:
protobuf-c: Pull in upstream build fix.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/protobuf-c/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/protobuf-c/patches/patch-t_generated-code2_cxx-generate-packed-data.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/protobuf-c/distinfo
diff -u pkgsrc/devel/protobuf-c/distinfo:1.5 pkgsrc/devel/protobuf-c/distinfo:1.6
--- pkgsrc/devel/protobuf-c/distinfo:1.5        Sat Aug  4 21:36:16 2018
+++ pkgsrc/devel/protobuf-c/distinfo    Wed Mar 27 11:31:21 2019
@@ -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__generator.cc) = 
 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

Added files:

Index: pkgsrc/devel/protobuf-c/patches/patch-t_generated-code2_cxx-generate-packed-data.cc
diff -u /dev/null pkgsrc/devel/protobuf-c/patches/patch-t_generated-code2_cxx-generate-packed-data.cc:1.1
--- /dev/null   Wed Mar 27 11:31:21 2019
+++ pkgsrc/devel/protobuf-c/patches/patch-t_generated-code2_cxx-generate-packed-data.cc Wed Mar 27 11:31:21 2019
@@ -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