Browse Source

protobuf-c: fix x86 build fail

Signed-off-by: Luka Paulic <luka.paulic@sartura.hr>
lilik-openwrt-22.03
Luka Paulic 6 years ago
parent
commit
a74f610502
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      libs/protobuf-c/patches/001-t-generated-code2-cxx-generate-packed-data-fix.patch

+ 13
- 0
libs/protobuf-c/patches/001-t-generated-code2-cxx-generate-packed-data-fix.patch View File

@ -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

Loading…
Cancel
Save