From nobody Fri Mar 31 10:42:39 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pnxgz6tnzz42JV9; Fri, 31 Mar 2023 10:42:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pnxgz5mDYz3LmN; Fri, 31 Mar 2023 10:42:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680259359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3ca384fAu/DtpIi/3CpEvVGNU6H2UOnDW6PqgF5atrc=; b=r1hbqw9cxecfhabmMGUhCLXSfFDeH2j11x2T6+2dAxHYZmEZCAYPFz4z9AAvcy44UhhTS1 yw/lGqUAC4CvLlWyeExcDrBpkEuqpzNc+Uy1kFtH/rs9D/BOjV92pqXUoUfljX3V1gDwrT Q7/uS2K7KClYQYF8PqbhdzNfAxd6eRWR3f9uoxDvkJwm2J0ypMGPp4P3aZM2rDYZTvooTQ P9e3lu94OTFENYSRtbkVl6DZ8gKaA+BnW0OSrQAzBkz8gbVs+ZsZuNzouRRcnOHTgjF7My +jb59aLwEH9ueJEVbHGq1+i264MF2J8VHQftSXFqlvVk2PuvemuPUNraP90ixg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680259359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3ca384fAu/DtpIi/3CpEvVGNU6H2UOnDW6PqgF5atrc=; b=HiAguwY5oSyWRDqTwri9OzqtExANjgae01x0gHcpGY/AL4PSKzA5ZTbnNNYFWMsHMLWbfz fw1msryYczDrBHADqaaHX6moe5bh0qfTGgCLltaVtRxRJ59eq3B4EPADhmGFBqlxYSLlqH 3GLs4iLy2IhYOayLyR259gL1EbSkazXo9OtvcIVhUuTGxaj8QEwqQ+N72EJCUOrApj7IjP neleaM7eE3+//DxlUoiZoltsNKMQKV+lbUjAJGmMqiy4217BnZgSdI6TveJsmT23Yn7+8H PddKqoKgNEJjH8IKeh1bIbOghVAY5aJOB0p8o+DSBpFjrr2qyFWXPA6VB9E6ow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680259359; a=rsa-sha256; cv=none; b=dbh3WQGL5IOncRxn+NygDwt9sH57WdnJmk6QmfdBApcGPtOujA5JZ4dIjwPLg8bFhEhgbE AGf4H9p5tPEzVUhNHUUcEhW1DHGsIMT0tJtL4xZGimIdR6J4Jobiq1aorE6fOUvAn1doin wZsywq2NgfjhBD65RXj2FY9AkF1HdBklNxfbeTDA+R2U9g4ZLagru0XpOpr5FWTY0vaRK1 aUyzJ+bWmUq8T7wg7o3KAfPtr0cfy+ijGtDrYtxarg9CIWfHvr4Gue0oJY7vct5Mrvhl0e szym6gY4B31wSSWXKcfrsLuENmRwFnlWxd8bINKtM6HTuXAh1fozAjawfK+fAA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pnxgz4YdQzqvP; Fri, 31 Mar 2023 10:42:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32VAgd1N070674; Fri, 31 Mar 2023 10:42:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32VAgd8O070673; Fri, 31 Mar 2023 10:42:39 GMT (envelope-from git) Date: Fri, 31 Mar 2023 10:42:39 GMT Message-Id: <202303311042.32VAgd8O070673@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 52ef2aff1f38 - main - sysutils/jest: fix build on riscv64 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 52ef2aff1f38188c6b0a6044894429e0acc998a3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=52ef2aff1f38188c6b0a6044894429e0acc998a3 commit 52ef2aff1f38188c6b0a6044894429e0acc998a3 Author: Robert Clausecker AuthorDate: 2023-03-29 18:50:03 +0000 Commit: Robert Clausecker 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