aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-08-26 07:15:38 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-08-26 07:15:38 +0000
commit050fe3e097cd285ec109470bfac4a331ab171ed7 (patch)
treea4390e346c55999a23b107474dba952df2c37f3a /net-p2p
parent16b52334c8cf82106acc536a3843f287edc17ab3 (diff)
downloadports-050fe3e097cd285ec109470bfac4a331ab171ed7.tar.gz
ports-050fe3e097cd285ec109470bfac4a331ab171ed7.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/mldonkey/files/patch-src_utils_lib_CryptoPP.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-p2p/mldonkey/files/patch-src_utils_lib_CryptoPP.h b/net-p2p/mldonkey/files/patch-src_utils_lib_CryptoPP.h
new file mode 100644
index 000000000000..8a5f7deedb6c
--- /dev/null
+++ b/net-p2p/mldonkey/files/patch-src_utils_lib_CryptoPP.h
@@ -0,0 +1,31 @@
+src/utils/lib/CryptoPP.h:3941:26: error: ISO C++11 does not allow access declarations; use using declarations instead
+ BufferedTransformation::Get;
+ ^
+
+--- src/utils/lib/CryptoPP.h.orig 2014-03-10 16:33:21 UTC
++++ src/utils/lib/CryptoPP.h
+@@ -3938,15 +3938,15 @@ class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE Sink : public Bu
+ {
+ protected:
+ // make these functions protected to help prevent unintentional calls to them
+- BufferedTransformation::Get;
+- BufferedTransformation::Peek;
+- BufferedTransformation::TransferTo;
+- BufferedTransformation::CopyTo;
+- BufferedTransformation::CopyRangeTo;
+- BufferedTransformation::TransferMessagesTo;
+- BufferedTransformation::CopyMessagesTo;
+- BufferedTransformation::TransferAllTo;
+- BufferedTransformation::CopyAllTo;
++ using BufferedTransformation::Get;
++ using BufferedTransformation::Peek;
++ using BufferedTransformation::TransferTo;
++ using BufferedTransformation::CopyTo;
++ using BufferedTransformation::CopyRangeTo;
++ using BufferedTransformation::TransferMessagesTo;
++ using BufferedTransformation::CopyMessagesTo;
++ using BufferedTransformation::TransferAllTo;
++ using BufferedTransformation::CopyAllTo;
+ unsigned int TransferTo2(BufferedTransformation& /* target */, unsigned long &transferBytes, const std::string& /* channel */ = NULL_CHANNEL, bool /* blocking */ = true)
+ {transferBytes = 0; return 0;}
+ unsigned int CopyRangeTo2(BufferedTransformation& /* target */, unsigned long& /* begin */, unsigned long /* end */ = ULONG_MAX, const std::string& /* channel */ = NULL_CHANNEL, bool /* blocking */ = true) const