From owner-svn-ports-all@freebsd.org Thu Apr 16 09:16:05 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C7C42B77F7; Thu, 16 Apr 2020 09:16:05 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 492tr52kHSz4FMW; Thu, 16 Apr 2020 09:16:05 +0000 (UTC) (envelope-from ale@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 5862266DB; Thu, 16 Apr 2020 09:16:05 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 03G9G5LQ080204; Thu, 16 Apr 2020 09:16:05 GMT (envelope-from ale@FreeBSD.org) Received: (from ale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 03G9G5YZ080203; Thu, 16 Apr 2020 09:16:05 GMT (envelope-from ale@FreeBSD.org) Message-Id: <202004160916.03G9G5YZ080203@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ale set sender to ale@FreeBSD.org using -f From: Alex Dupre Date: Thu, 16 Apr 2020 09:16:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r531831 - head/lang/solidity/files X-SVN-Group: ports-head X-SVN-Commit-Author: ale X-SVN-Commit-Paths: head/lang/solidity/files X-SVN-Commit-Revision: 531831 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.29 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: Thu, 16 Apr 2020 09:16:05 -0000 Author: ale Date: Thu Apr 16 09:16:04 2020 New Revision: 531831 URL: https://svnweb.freebsd.org/changeset/ports/531831 Log: Fix build on 32-bit platforms. Added: head/lang/solidity/files/patch-libsolutil_IpfsHash.cpp (contents, props changed) Added: head/lang/solidity/files/patch-libsolutil_IpfsHash.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/solidity/files/patch-libsolutil_IpfsHash.cpp Thu Apr 16 09:16:04 2020 (r531831) @@ -0,0 +1,11 @@ +--- libsolutil/IpfsHash.cpp.orig 2020-04-16 09:14:46 UTC ++++ libsolutil/IpfsHash.cpp +@@ -160,7 +160,7 @@ bytes solidity::util::ipfsHash(string _data) + + Chunks allChunks; + +- for (unsigned long chunkIndex = 0; chunkIndex < chunkCount; chunkIndex++) ++ for (size_t chunkIndex = 0; chunkIndex < chunkCount; chunkIndex++) + { + bytes chunkBytes = asBytes( + _data.substr(chunkIndex * maxChunkSize, min(maxChunkSize, _data.length() - chunkIndex * maxChunkSize))