Index: head/lang/solidity/Makefile =================================================================== --- head/lang/solidity/Makefile (revision 558290) +++ head/lang/solidity/Makefile (revision 558291) @@ -1,46 +1,45 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= solidity -PORTVERSION= 0.7.4 +PORTVERSION= 0.8.0 CATEGORIES= lang MASTER_SITES= https://github.com/ethereum/solidity/releases/download/v${PORTVERSION}/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= Solidity Contract-Oriented Programming Language LICENSE= GPLv3 NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe sparc64 NOT_FOR_ARCHS_REASON= solidity currently does not support big endian systems BUILD_DEPENDS= boost-libs>=0:devel/boost-libs LIB_DEPENDS= libjsoncpp.so:devel/jsoncpp USES= cmake compiler:c++14-lang OPTIONS_DEFINE= Z3 CVC4 OPTIONS_DEFAULT=Z3 CVC4 Z3_DESC= SMT Checker via Z3 CVC4_DESC= SMT Checker via CVC4 Z3_LIB_DEPENDS= libz3.so:math/z3 CVC4_LIB_DEPENDS= libcvc4.so:math/cvc4 libgmp.so:math/gmp Z3_CMAKE_OFF= USE_Z3 CVC4_CMAKE_OFF= USE_CVC4 CMAKE_ARGS+= -DUSE_LD_GOLD=OFF -DTESTS=OFF \ -DJSONCPP_INCLUDE_DIR:STRING="${LOCALBASE}/include/jsoncpp" \ -DJSONCPP_LIB_DIR:STRING="${LOCALBASE}/lib" PLIST_FILES= bin/solc \ bin/solidity-upgrade \ bin/yul-phaser pre-patch: @${CP} ${FILESDIR}/jsoncpp.cmake ${WRKSRC}/cmake/ @${REINPLACE_CMD} '/EthCcache/d' ${WRKSRC}/CMakeLists.txt - @${REINPLACE_CMD} '/-Werror/d' ${WRKSRC}/cmake/EthCompilerSettings.cmake .include Index: head/lang/solidity/distinfo =================================================================== --- head/lang/solidity/distinfo (revision 558290) +++ head/lang/solidity/distinfo (revision 558291) @@ -1,3 +1,3 @@ -TIMESTAMP = 1603118563 -SHA256 (solidity_0.7.4.tar.gz) = 3994482ed1104f55cbd7614649c2129adaf3fc9a782d910e688d0010abeb7a9c -SIZE (solidity_0.7.4.tar.gz) = 2425924 +TIMESTAMP = 1608206279 +SHA256 (solidity_0.8.0.tar.gz) = 5a8f9f421dcf65d552b2e6fea4929aef68706a8db8b2e626e7a81e4e5ee11549 +SIZE (solidity_0.8.0.tar.gz) = 2538492 Index: head/lang/solidity/files/patch-cmake_EthCompilerSettings.cmake =================================================================== --- head/lang/solidity/files/patch-cmake_EthCompilerSettings.cmake (nonexistent) +++ head/lang/solidity/files/patch-cmake_EthCompilerSettings.cmake (revision 558291) @@ -0,0 +1,14 @@ +--- cmake/EthCompilerSettings.cmake.orig 2020-12-16 17:41:40 UTC ++++ cmake/EthCompilerSettings.cmake +@@ -53,9 +53,10 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${ + add_compile_options(-Wimplicit-fallthrough) + add_compile_options(-Wsign-conversion) + add_compile_options(-Wconversion) ++ add_compile_options(-Qunused-arguments) + + eth_add_cxx_compiler_flag_if_supported( +- $<$:-Wextra-semi> ++ -Wextra-semi + ) + eth_add_cxx_compiler_flag_if_supported(-Wfinal-dtor-non-final-class) + eth_add_cxx_compiler_flag_if_supported(-Wnewline-eof) Property changes on: head/lang/solidity/files/patch-cmake_EthCompilerSettings.cmake ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/solidity/files/patch-libevmasm_Instruction.h =================================================================== --- head/lang/solidity/files/patch-libevmasm_Instruction.h (revision 558290) +++ head/lang/solidity/files/patch-libevmasm_Instruction.h (revision 558291) @@ -1,11 +1,11 @@ ---- libevmasm/Instruction.h.orig 2020-01-28 10:08:51 UTC +--- libevmasm/Instruction.h.orig 2020-12-16 17:41:40 UTC +++ libevmasm/Instruction.h -@@ -26,6 +26,8 @@ +@@ -27,6 +27,8 @@ #include #include +#undef MSIZE // remove MSIZE definition from , included by boost 1.66.0 + namespace solidity::evmasm { Index: head/lang/solidity/files/patch-libsolutil_JSON.cpp =================================================================== --- head/lang/solidity/files/patch-libsolutil_JSON.cpp (revision 558290) +++ head/lang/solidity/files/patch-libsolutil_JSON.cpp (revision 558291) @@ -1,15 +1,15 @@ ---- libsolutil/JSON.cpp.orig 2020-01-27 15:36:51 UTC +--- libsolutil/JSON.cpp.orig 2020-12-16 17:41:40 UTC +++ libsolutil/JSON.cpp -@@ -31,10 +31,12 @@ +@@ -32,10 +32,12 @@ using namespace std; +/* static_assert( (JSONCPP_VERSION_MAJOR == 1) && (JSONCPP_VERSION_MINOR == 9) && (JSONCPP_VERSION_PATCH == 3), "Unexpected jsoncpp version: " JSONCPP_VERSION_STRING ". Expecting 1.9.3." ); +*/ namespace solidity::util {