aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/go-ethereum
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2019-04-10 20:43:00 +0000
committerSteve Wills <swills@FreeBSD.org>2019-04-10 20:43:00 +0000
commit5d925fc5e062bc322fb45da544c6322d96316642 (patch)
tree56e1dde49dfb0e8f34899d8fe74ff8e76b577b1a /net-p2p/go-ethereum
parentacefd06145a9535180622f8fc4d0460d55b99a91 (diff)
downloadports-5d925fc5e062bc322fb45da544c6322d96316642.tar.gz
ports-5d925fc5e062bc322fb45da544c6322d96316642.zip
Notes
Diffstat (limited to 'net-p2p/go-ethereum')
-rw-r--r--net-p2p/go-ethereum/Makefile2
-rw-r--r--net-p2p/go-ethereum/distinfo6
-rw-r--r--net-p2p/go-ethereum/files/patch-common_fdlimit_fdlimit__freebsd.go11
3 files changed, 15 insertions, 4 deletions
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