aboutsummaryrefslogtreecommitdiff
path: root/libs/protobuf-c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/protobuf-c')
-rw-r--r--libs/protobuf-c/patches/001-t-generated-code2-cxx-generate-packed-data-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/protobuf-c/patches/001-t-generated-code2-cxx-generate-packed-data-fix.patch b/libs/protobuf-c/patches/001-t-generated-code2-cxx-generate-packed-data-fix.patch
new file mode 100644
index 000000000..2d83cec59
--- /dev/null
+++ b/libs/protobuf-c/patches/001-t-generated-code2-cxx-generate-packed-data-fix.patch
@@ -0,0 +1,13 @@
+Index: protobuf-c-1.3.1/t/generated-code2/cxx-generate-packed-data.cc
+===================================================================
+--- protobuf-c-1.3.1.orig/t/generated-code2/cxx-generate-packed-data.cc
++++ protobuf-c-1.3.1/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