diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2019-05-05 03:54:51 +0200 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2019-05-05 15:04:00 -0400 |
commit | 46a06dba99f561c4413c4dca9bfad0ff53b26467 (patch) | |
tree | b7df7604aef627bf559438d603262c2238f1e8ea /dev-libs/protobuf-c/files | |
parent | net-libs/neon: Fix building with >=dev-libs/libressl-2.7. (diff) | |
download | gentoo-46a06dba99f561c4413c4dca9bfad0ff53b26467.tar.gz gentoo-46a06dba99f561c4413c4dca9bfad0ff53b26467.tar.bz2 gentoo-46a06dba99f561c4413c4dca9bfad0ff53b26467.zip |
dev-libs/protobuf-c: Fix building with >=dev-libs/protobuf-3.7.
Fixes: https://bugs.gentoo.org/684028
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-libs/protobuf-c/files')
-rw-r--r-- | dev-libs/protobuf-c/files/protobuf-c-1.3.1-protobuf-3.7.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/protobuf-c/files/protobuf-c-1.3.1-protobuf-3.7.patch b/dev-libs/protobuf-c/files/protobuf-c-1.3.1-protobuf-3.7.patch new file mode 100644 index 000000000000..218dec00f872 --- /dev/null +++ b/dev-libs/protobuf-c/files/protobuf-c-1.3.1-protobuf-3.7.patch @@ -0,0 +1,13 @@ +https://github.com/protobuf-c/protobuf-c/commit/7456d1621223d425b8a3fd74e435a79c046169fb + +--- /t/generated-code2/cxx-generate-packed-data.cc ++++ /t/generated-code2/cxx-generate-packed-data.cc +@@ -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 |