aboutsummaryrefslogtreecommitdiff
path: root/security/certificate-transparency
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-02-02 11:33:13 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-02-02 11:33:13 +0000
commit71c9c5babaa5430c9abfed642fefc330553c3bc8 (patch)
treef3fdc0b6553d395736837ca6973eb8180954d6fa /security/certificate-transparency
parentf08c743f3a5a8225fdd2aca9fd86063c8a350902 (diff)
downloadports-71c9c5babaa5430c9abfed642fefc330553c3bc8.tar.gz
ports-71c9c5babaa5430c9abfed642fefc330553c3bc8.zip
Fix build with devel/protobuf
Notes
Notes: svn path=/head/; revision=433141
Diffstat (limited to 'security/certificate-transparency')
-rw-r--r--security/certificate-transparency/files/patch-cpp-log-logged_entry.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/certificate-transparency/files/patch-cpp-log-logged_entry.h b/security/certificate-transparency/files/patch-cpp-log-logged_entry.h
new file mode 100644
index 000000000000..2194fa5ccfaf
--- /dev/null
+++ b/security/certificate-transparency/files/patch-cpp-log-logged_entry.h
@@ -0,0 +1,15 @@
+Obtained from: https://github.com/google/certificate-transparency/commit/6776cc2c4cca665c088019d40f9587189a5d687d
+
+--- cpp/log/logged_entry.h.orig
++++ cpp/log/logged_entry.h
+@@ -25,9 +25,7 @@ class LoggedEntry : private ct::LoggedEntryPB {
+ using LoggedEntryPB::merkle_leaf_hash;
+ using LoggedEntryPB::set_merkle_leaf_hash;
+ using LoggedEntryPB::set_sequence_number;
+- void CopyFrom(const ::google::protobuf::Message& from) {
+- LoggedEntryPB::CopyFrom(from);
+- }
++ using LoggedEntryPB::CopyFrom;
+ void CopyFrom(const LoggedEntry& from) {
+ LoggedEntryPB::CopyFrom(from);
+ }