git: e0e10672e89e - main - lang/go: Update to 1.18
- Reply: Jan Beich : "Re: git: e0e10672e89e - main - lang/go: Update to 1.18"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Mar 2022 04:37:47 UTC
The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0e10672e89e91e416595fbe4140e05898634566 commit e0e10672e89e91e416595fbe4140e05898634566 Author: Guangyuan Yang <ygy@FreeBSD.org> AuthorDate: 2022-03-23 04:37:28 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2022-03-23 04:37:28 +0000 lang/go: Update to 1.18 Changes: https://go.dev/doc/devel/release#go1.18 --- lang/go/Makefile | 2 +- lang/go/distinfo | 6 +++--- lang/go/files/patch-src_cmd_link_internal_ld_elf.go | 15 --------------- 3 files changed, 4 insertions(+), 19 deletions(-) diff --git a/lang/go/Makefile b/lang/go/Makefile index d8bac468163e..f34fdb745da1 100644 --- a/lang/go/Makefile +++ b/lang/go/Makefile @@ -1,7 +1,7 @@ # Created by: Devon H. O'Dell <devon.odell@gmail.com> PORTNAME= go -PORTVERSION?= 1.17.8 +PORTVERSION?= 1.18 PORTREVISION?= 0 PORTEPOCH?= 1 CATEGORIES= lang diff --git a/lang/go/distinfo b/lang/go/distinfo index c0fab69e2071..c3c29cf7861c 100644 --- a/lang/go/distinfo +++ b/lang/go/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1647723831 -SHA256 (go1.17.8.src.tar.gz) = 2effcd898140da79a061f3784ca4f8d8b13d811fb2abe9dad2404442dabbdf7a -SIZE (go1.17.8.src.tar.gz) = 22199282 +TIMESTAMP = 1647990390 +SHA256 (go1.18.src.tar.gz) = 38f423db4cc834883f2b52344282fa7a39fbb93650dc62a11fdf0be6409bdad6 +SIZE (go1.18.src.tar.gz) = 22827832 SHA256 (go-freebsd-arm64-go1.14.tar.xz) = f8b0cf0d323e581c9e3e0d5c217847a3e0294fcc92dbac92a5b02cea9d97ad8d SIZE (go-freebsd-arm64-go1.14.tar.xz) = 34944548 SHA256 (go-freebsd-amd64-go1.14.tar.xz) = 3b259247fb228258a4f31e283e9aa23cafd590eabce334666a9e9b2ffe47c19b diff --git a/lang/go/files/patch-src_cmd_link_internal_ld_elf.go b/lang/go/files/patch-src_cmd_link_internal_ld_elf.go deleted file mode 100644 index 2e92eee9efd5..000000000000 --- a/lang/go/files/patch-src_cmd_link_internal_ld_elf.go +++ /dev/null @@ -1,15 +0,0 @@ -Backport https://go-review.googlesource.com/c/go/+/346872/ to go1.17 ---- src/cmd/link/internal/ld/elf.go.orig 2021-08-16 16:29:54 UTC -+++ src/cmd/link/internal/ld/elf.go -@@ -2028,6 +2028,11 @@ func asmbElf(ctxt *Link) { - ph := newElfPhdr() - ph.Type = elf.PT_SUNWSTACK - ph.Flags = elf.PF_W + elf.PF_R -+ } else if ctxt.HeadType == objabi.Hfreebsd { -+ ph := newElfPhdr() -+ ph.Type = elf.PT_GNU_STACK -+ ph.Flags = elf.PF_W + elf.PF_R -+ ph.Align = uint64(ctxt.Arch.RegSize) - } - - elfobj: