Skip to content

Commit

Permalink
lang/solidity: update to 0.8.21 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdupre committed Jul 21, 2023
1 parent cb7689b commit 2010fae
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lang/solidity/Makefile
@@ -1,5 +1,5 @@
PORTNAME= solidity
PORTVERSION= 0.8.20
PORTVERSION= 0.8.21
CATEGORIES= lang
MASTER_SITES= https://github.com/ethereum/solidity/releases/download/v${PORTVERSION}/
DISTNAME= ${PORTNAME}_${PORTVERSION}
Expand Down
6 changes: 3 additions & 3 deletions lang/solidity/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1683798989
SHA256 (solidity_0.8.20.tar.gz) = 8a54043ebbd436b8b38d625d90ceb69dce07c150822fb6d796e440ccc2c17981
SIZE (solidity_0.8.20.tar.gz) = 3263637
TIMESTAMP = 1689924739
SHA256 (solidity_0.8.21.tar.gz) = 6d1bb8e72850320e72d788575f6bd25dd4930cb6dd9edd35a59266a46f610d13
SIZE (solidity_0.8.21.tar.gz) = 4055931
6 changes: 3 additions & 3 deletions lang/solidity/files/patch-cmake_range-v3.cmake
@@ -1,4 +1,4 @@
--- cmake/range-v3.cmake.orig 2021-01-28 15:15:15 UTC
--- cmake/range-v3.cmake.orig 2023-07-19 09:24:46 UTC
+++ cmake/range-v3.cmake
@@ -1,36 +1,11 @@
-include(ExternalProject)
Expand All @@ -9,12 +9,12 @@
set(RANGE_V3_CMAKE_COMMAND ${CMAKE_COMMAND})
endif()

-set(prefix "${CMAKE_BINARY_DIR}/deps")
-set(prefix "${PROJECT_BINARY_DIR}/deps")
-set(RANGE_V3_INCLUDE_DIR "${prefix}/include")
-
-ExternalProject_Add(range-v3-project
- PREFIX "${prefix}"
- DOWNLOAD_DIR "${CMAKE_SOURCE_DIR}/deps/downloads"
- DOWNLOAD_DIR "${PROJECT_SOURCE_DIR}/deps/downloads"
- DOWNLOAD_NAME range-v3-0.12.0.tar.gz
- URL https://github.com/ericniebler/range-v3/archive/0.12.0.tar.gz
- URL_HASH SHA256=015adb2300a98edfceaf0725beec3337f542af4915cec4d0b89fa0886f4ba9cb
Expand Down
4 changes: 2 additions & 2 deletions lang/solidity/files/patch-libevmasm_Assembly.cpp
@@ -1,6 +1,6 @@
--- libevmasm/Assembly.cpp.orig 2022-03-24 17:16:26 UTC
--- libevmasm/Assembly.cpp.orig 2023-07-19 09:24:46 UTC
+++ libevmasm/Assembly.cpp
@@ -48,6 +48,8 @@ using namespace solidity::evmasm;
@@ -47,6 +47,8 @@ using namespace solidity::evmasm;
using namespace solidity::langutil;
using namespace solidity::util;

Expand Down
6 changes: 3 additions & 3 deletions lang/solidity/files/patch-libevmasm_Instruction.h
@@ -1,8 +1,8 @@
--- libevmasm/Instruction.h.orig 2022-03-16 14:18:52 UTC
--- libevmasm/Instruction.h.orig 2023-07-19 09:24:46 UTC
+++ libevmasm/Instruction.h
@@ -26,6 +26,8 @@
#include <libsolutil/Common.h>
@@ -27,6 +27,8 @@
#include <libsolutil/Assertions.h>
#include <liblangutil/EVMVersion.h>

+#undef MSIZE // remove MSIZE definition from <sys/params.h>, included by boost 1.66.0
+
Expand Down
6 changes: 3 additions & 3 deletions lang/solidity/files/patch-libevmasm_SemanticInformation.cpp
@@ -1,11 +1,11 @@
--- libevmasm/SemanticInformation.cpp.orig 2022-03-24 17:18:03 UTC
--- libevmasm/SemanticInformation.cpp.orig 2023-07-19 09:24:46 UTC
+++ libevmasm/SemanticInformation.cpp
@@ -29,6 +29,8 @@ using namespace std;
@@ -28,6 +28,8 @@
using namespace solidity;
using namespace solidity::evmasm;

+#undef MSIZE // remove MSIZE definition from <sys/params.h>, included by boost 1.66.0
+
vector<SemanticInformation::Operation> SemanticInformation::readWriteOperations(Instruction _instruction)
std::vector<SemanticInformation::Operation> SemanticInformation::readWriteOperations(Instruction _instruction)
{
switch (_instruction)

0 comments on commit 2010fae

Please sign in to comment.