diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-02-02 11:33:13 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-02-02 11:33:13 +0000 |
commit | 71c9c5babaa5430c9abfed642fefc330553c3bc8 (patch) | |
tree | f3fdc0b6553d395736837ca6973eb8180954d6fa /security/certificate-transparency | |
parent | f08c743f3a5a8225fdd2aca9fd86063c8a350902 (diff) | |
download | ports-71c9c5babaa5430c9abfed642fefc330553c3bc8.tar.gz ports-71c9c5babaa5430c9abfed642fefc330553c3bc8.zip |
Fix build with devel/protobuf
Obtained from: https://github.com/google/certificate-transparency/commit/6776cc2c4cca665c088019d40f9587189a5d687d
Notified by: jbeich
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.h | 15 |
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); + } |