aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-21 17:59:54 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-21 18:12:13 +0000
commit746009aea64a174633d9e775ba66a3f4cadcf5e6 (patch)
tree716219d28b4e8ee0569e85c918efb4d546b834c4
parent65824056063718696f10c0a2f08d5c0bd6a9d737 (diff)
downloadports-746009aea64a174633d9e775ba66a3f4cadcf5e6.tar.gz
ports-746009aea64a174633d9e775ba66a3f4cadcf5e6.zip
sysutils/apache-mesos: Fix build with protobuf 3.17.3
-rw-r--r--sysutils/apache-mesos/files/patch-protobuf22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/apache-mesos/files/patch-protobuf b/sysutils/apache-mesos/files/patch-protobuf
new file mode 100644
index 000000000000..a748c982f8b8
--- /dev/null
+++ b/sysutils/apache-mesos/files/patch-protobuf
@@ -0,0 +1,22 @@
+--- include/mesos/csi/v0.hpp.orig 2020-11-17 13:52:12 UTC
++++ include/mesos/csi/v0.hpp
+@@ -94,7 +94,7 @@ std::ostream& operator<<(std::ostream& stream, const M
+ google::protobuf::util::MessageToJsonString(message, &output);
+
+ CHECK(status.ok())
+- << "Could not convert messages to string: " << status.error_message();
++ << "Could not convert messages to string: " << status.message();
+
+ return stream << output;
+ }
+--- include/mesos/csi/v1.hpp.orig 2020-11-17 13:52:12 UTC
++++ include/mesos/csi/v1.hpp
+@@ -94,7 +94,7 @@ std::ostream& operator<<(std::ostream& stream, const M
+ google::protobuf::util::MessageToJsonString(message, &output);
+
+ CHECK(status.ok())
+- << "Could not convert messages to string: " << status.error_message();
++ << "Could not convert messages to string: " << status.message();
+
+ return stream << output;
+ }