sync ports with The Matrix
This commit is contained in:
parent
02776f1507
commit
a0fe1892c0
885 changed files with 6817 additions and 4874 deletions
14
devel/protobuf-c/patches/patch-protoc-c_c_primitive_field_cc
Normal file
14
devel/protobuf-c/patches/patch-protoc-c_c_primitive_field_cc
Normal file
|
@ -0,0 +1,14 @@
|
|||
https://github.com/protobuf-c/protobuf-c/pull/673
|
||||
|
||||
Index: protoc-c/c_primitive_field.cc
|
||||
--- protoc-c/c_primitive_field.cc.orig
|
||||
+++ protoc-c/c_primitive_field.cc
|
||||
@@ -143,7 +143,7 @@ std::string PrimitiveFieldGenerator::GetDefaultValue()
|
||||
case FieldDescriptor::CPPTYPE_BOOL:
|
||||
return descriptor_->default_value_bool() ? "1" : "0";
|
||||
default:
|
||||
- GOOGLE_LOG(DFATAL) << "unexpected CPPTYPE in c_primitive_field";
|
||||
+ GOOGLE_LOG(FATAL) << "unexpected CPPTYPE in c_primitive_field";
|
||||
return "UNEXPECTED_CPPTYPE";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue