git: 52ef2aff1f38 - main - sysutils/jest: fix build on riscv64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Mar 2023 10:42:39 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=52ef2aff1f38188c6b0a6044894429e0acc998a3 commit 52ef2aff1f38188c6b0a6044894429e0acc998a3 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-03-29 18:50:03 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-03-31 10:42:08 +0000 sysutils/jest: fix build on riscv64 Bump golang.org/x/sys dependency to a version new enough to support riscv64. Add missing riscv64-specific bits to github.com/boltdb/bolt dependency. Sponsored by: Berliner Linux User Group e.V. Obtained from: go.etcd.io/bbolt Approved by: portmgr (build fix blanket) --- sysutils/jest/Makefile | 4 ++-- sysutils/jest/distinfo | 6 +++--- .../patch-vendor_github.com_boltdb_bolt_bolt__riscv64.go | 16 ++++++++++++++++ 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/sysutils/jest/Makefile b/sysutils/jest/Makefile index 98d282205d2e..0e7dbf112d0b 100644 --- a/sysutils/jest/Makefile +++ b/sysutils/jest/Makefile @@ -1,6 +1,6 @@ PORTNAME= jest DISTVERSION= 3.0.16 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org @@ -21,7 +21,7 @@ GH_TUPLE= \ dsnet:compress:cc9eb1d:dsnet_compress/vendor/github.com/dsnet/compress \ golang:gddo:af0f2af:golang_gddo/vendor/github.com/golang/gddo \ golang:snappy:2e65f85:golang_snappy/vendor/github.com/golang/snappy \ - golang:sys:516e3c20635f:golang_sys/vendor/golang.org/x/sys \ + golang:sys:v0.6.0:golang_sys/vendor/golang.org/x/sys \ gorilla:mux:v1.7.3:mux/vendor/github.com/gorilla/mux \ jlaffaye:ftp:c1312a7:ftp/vendor/github.com/jlaffaye/ftp \ klauspost:compress:v1.7.0:klauspost_compress/vendor/github.com/klauspost/compress \ diff --git a/sysutils/jest/distinfo b/sysutils/jest/distinfo index 84d299f037fa..cf2a137cf959 100644 --- a/sysutils/jest/distinfo +++ b/sysutils/jest/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1561966653 +TIMESTAMP = 1680115554 SHA256 (tabrarg-jest-3.0.16-f76bc46_GH0.tar.gz) = 21e3f66f6c9e49f2600bb5517b9d889e319e0008df7c2bb1572b944e6330a802 SIZE (tabrarg-jest-3.0.16-f76bc46_GH0.tar.gz) = 12436 SHA256 (andybalholm-brotli-5f990b6_GH0.tar.gz) = 842088bc7025e880b98c9d08703d802032b2d8994e3727d9d4edaba3b63b6928 @@ -13,8 +13,8 @@ SHA256 (golang-gddo-af0f2af_GH0.tar.gz) = b9934963c9abb68290125358d330a6b09ad05d SIZE (golang-gddo-af0f2af_GH0.tar.gz) = 2256685 SHA256 (golang-snappy-2e65f85_GH0.tar.gz) = dbbc74e9fbea19d803a6984314286acfb3ba554a693f5bce0c8073e18a180d99 SIZE (golang-snappy-2e65f85_GH0.tar.gz) = 62575 -SHA256 (golang-sys-516e3c20635f_GH0.tar.gz) = eaee891b6eb487237243f3b5d796ffc96dee770c2433c1efc6860c3e04de77f4 -SIZE (golang-sys-516e3c20635f_GH0.tar.gz) = 1437398 +SHA256 (golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54 +SIZE (golang-sys-v0.6.0_GH0.tar.gz) = 1434234 SHA256 (gorilla-mux-v1.7.3_GH0.tar.gz) = 92adb9aea022f8b35686b75be50ba1206c4457c2f8a0e2a9d10d8721f35b3f11 SIZE (gorilla-mux-v1.7.3_GH0.tar.gz) = 42495 SHA256 (jlaffaye-ftp-c1312a7_GH0.tar.gz) = 6c1f10d59550c7b9a96608153127c9d2157927d857b20aead781ad690f7d8b20 diff --git a/sysutils/jest/files/patch-vendor_github.com_boltdb_bolt_bolt__riscv64.go b/sysutils/jest/files/patch-vendor_github.com_boltdb_bolt_bolt__riscv64.go new file mode 100644 index 000000000000..8b11be4f4104 --- /dev/null +++ b/sysutils/jest/files/patch-vendor_github.com_boltdb_bolt_bolt__riscv64.go @@ -0,0 +1,16 @@ +--- /dev/null 2023-03-29 16:51:35 UTC ++++ vendor/github.com/boltdb/bolt/bolt_riscv64.go +@@ -0,0 +1,13 @@ ++//go:build riscv64 ++// +build riscv64 ++ ++package bolt ++ ++// maxMapSize represents the largest mmap size supported by Bolt. ++const maxMapSize = 0xFFFFFFFFFFFF // 256TB ++ ++// maxAllocSize is the size used when creating array pointers. ++const maxAllocSize = 0x7FFFFFFF ++ ++// are unaligned reads/writes not supported? ++var brokenUnaligned = false