From 5d925fc5e062bc322fb45da544c6322d96316642 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Wed, 10 Apr 2019 20:43:00 +0000 Subject: net-p2p/go-ethereum: upgrade to 1.8.24 PR: 237150 Submitted by: Enrique Fynn (maintainer) --- net-p2p/go-ethereum/Makefile | 2 +- net-p2p/go-ethereum/distinfo | 6 +++--- .../files/patch-common_fdlimit_fdlimit__freebsd.go | 11 +++++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 net-p2p/go-ethereum/files/patch-common_fdlimit_fdlimit__freebsd.go (limited to 'net-p2p/go-ethereum') diff --git a/net-p2p/go-ethereum/Makefile b/net-p2p/go-ethereum/Makefile index 9a693bbc371f..3f96c4c93363 100644 --- a/net-p2p/go-ethereum/Makefile +++ b/net-p2p/go-ethereum/Makefile @@ -2,7 +2,7 @@ PORTNAME= go-ethereum DISTVERSIONPREFIX= v -DISTVERSION= 1.8.22 +DISTVERSION= 1.8.24 CATEGORIES= net-p2p MAINTAINER= me@enriquefynn.com diff --git a/net-p2p/go-ethereum/distinfo b/net-p2p/go-ethereum/distinfo index 9f041ab8f3a4..7349a5ed6f31 100644 --- a/net-p2p/go-ethereum/distinfo +++ b/net-p2p/go-ethereum/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1549124152 -SHA256 (ethereum-go-ethereum-v1.8.22_GH0.tar.gz) = 8cd1d3bf8bcea7fa6449eef56d9103eca9403aae74f839c1f1f89eaf6989fe01 -SIZE (ethereum-go-ethereum-v1.8.22_GH0.tar.gz) = 10092112 +TIMESTAMP = 1554802409 +SHA256 (ethereum-go-ethereum-v1.8.24_GH0.tar.gz) = 7b4d5df58bb00b0601d2b16ca16d03d2aa5a70e9529443154d24bdc38f7d931c +SIZE (ethereum-go-ethereum-v1.8.24_GH0.tar.gz) = 10544062 diff --git a/net-p2p/go-ethereum/files/patch-common_fdlimit_fdlimit__freebsd.go b/net-p2p/go-ethereum/files/patch-common_fdlimit_fdlimit__freebsd.go new file mode 100644 index 000000000000..69ec59df47ba --- /dev/null +++ b/net-p2p/go-ethereum/files/patch-common_fdlimit_fdlimit__freebsd.go @@ -0,0 +1,11 @@ +--- common/fdlimit/fdlimit_freebsd.go.orig 2019-04-08 13:16:05 UTC ++++ common/fdlimit/fdlimit_freebsd.go +@@ -43,7 +43,7 @@ func Raise(max uint64) (uint64, error) { + if err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &limit); err != nil { + return 0, err + } +- return limit.Cur, nil ++ return uint64(limit.Cur), nil + } + + // Current retrieves the number of file descriptors allowed to be opened by this -- cgit v1.2.3