From owner-svn-ports-all@freebsd.org Sun Aug 26 07:15:39 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EBD0106BCB5; Sun, 26 Aug 2018 07:15:39 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 06753745BB; Sun, 26 Aug 2018 07:15:39 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BD2253B23; Sun, 26 Aug 2018 07:15:38 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7Q7Fc5C061703; Sun, 26 Aug 2018 07:15:38 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7Q7Fchc061702; Sun, 26 Aug 2018 07:15:38 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808260715.w7Q7Fchc061702@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 26 Aug 2018 07:15:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478102 - head/net-p2p/mldonkey/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/net-p2p/mldonkey/files X-SVN-Commit-Revision: 478102 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2018 07:15:39 -0000 Author: tobik Date: Sun Aug 26 07:15:38 2018 New Revision: 478102 URL: https://svnweb.freebsd.org/changeset/ports/478102 Log: net-p2p/mldonkey*: Fix build with Clang 6 src/utils/lib/CryptoPP.h:3941:26: error: ISO C++11 does not allow access declarations; use using declarations instead BufferedTransformation::Get; ^ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/mldonkey-3.1.5_2.log http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/mldonkey-core-3.1.5_2.log http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/mldonkey-gui-3.1.5_2.log PR: 229691 Submitted by: mickey242@gmx.net Added: head/net-p2p/mldonkey/files/patch-src_utils_lib_CryptoPP.h (contents, props changed) Added: head/net-p2p/mldonkey/files/patch-src_utils_lib_CryptoPP.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/mldonkey/files/patch-src_utils_lib_CryptoPP.h Sun Aug 26 07:15:38 2018 (r478102) @@ -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