pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang go119: update to 1.19.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a659cd68f9c
branches:  trunk
changeset: 391652:8a659cd68f9c
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Wed Jan 11 17:24:29 2023 +0000

description:
go119: update to 1.19.5

go1.19.5 (released 2023-01-10) includes fixes to the compiler, the linker, and
the crypto/x509, net/http, sync/atomic, and syscall packages. See the Go 1.19.5
milestone on our issue tracker for details.

diffstat:

 lang/go/version.mk                               |   4 +-
 lang/go119/Makefile                              |   3 +-
 lang/go119/PLIST                                 |  10 ++-
 lang/go119/distinfo                              |   9 +-
 lang/go119/patches/patch-src_sync_atomic_type.go |  73 ------------------------
 5 files changed, 15 insertions(+), 84 deletions(-)

diffs (185 lines):

diff -r 296c4b8ae412 -r 8a659cd68f9c lang/go/version.mk
--- a/lang/go/version.mk        Wed Jan 11 16:14:43 2023 +0000
+++ b/lang/go/version.mk        Wed Jan 11 17:24:29 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.168 2023/01/11 15:21:43 bsiegert Exp $
+# $NetBSD: version.mk,v 1.169 2023/01/11 17:24:29 bsiegert Exp $
 
 #
 # If bsd.prefs.mk is included before go-package.mk in a package, then this
@@ -6,7 +6,7 @@
 #
 .include "go-vars.mk"
 
-GO119_VERSION= 1.19.4
+GO119_VERSION= 1.19.5
 GO118_VERSION= 1.18.10
 GO14_VERSION=  1.4.3
 
diff -r 296c4b8ae412 -r 8a659cd68f9c lang/go119/Makefile
--- a/lang/go119/Makefile       Wed Jan 11 16:14:43 2023 +0000
+++ b/lang/go119/Makefile       Wed Jan 11 17:24:29 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/12/11 23:11:31 nikita Exp $
+# $NetBSD: Makefile,v 1.4 2023/01/11 17:24:29 bsiegert Exp $
 
 .include "../../lang/go/version.mk"
 .include "../../lang/go/bootstrap.mk"
@@ -7,7 +7,6 @@
 
 DISTNAME=      go${GO${GOVERSSUFFIX}_VERSION}.src
 PKGNAME=       go${GOVERSSUFFIX}-${GO${GOVERSSUFFIX}_VERSION}
-PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  https://storage.googleapis.com/golang/
 
diff -r 296c4b8ae412 -r 8a659cd68f9c lang/go119/PLIST
--- a/lang/go119/PLIST  Wed Jan 11 16:14:43 2023 +0000
+++ b/lang/go119/PLIST  Wed Jan 11 17:24:29 2023 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2022/12/08 10:37:26 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.6 2023/01/11 17:24:29 bsiegert Exp $
 bin/go${GOVERSSUFFIX}
 bin/gofmt${GOVERSSUFFIX}
 go119/CONTRIBUTING.md
@@ -3127,6 +3127,7 @@
 go119/src/cmd/go/testdata/script/test_xtestonly_works.txt
 go119/src/cmd/go/testdata/script/testing_issue40908.txt
 go119/src/cmd/go/testdata/script/toolexec.txt
+go119/src/cmd/go/testdata/script/trampoline_reuse_test.txt
 go119/src/cmd/go/testdata/script/vendor_complex.txt
 go119/src/cmd/go/testdata/script/vendor_gopath_issue11409.txt
 go119/src/cmd/go/testdata/script/vendor_import.txt
@@ -3142,7 +3143,6 @@
 go119/src/cmd/go/testdata/script/version_buildvcs_bzr.txt
 go119/src/cmd/go/testdata/script/version_buildvcs_fossil.txt
 go119/src/cmd/go/testdata/script/version_buildvcs_git.txt
-go119/src/cmd/go/testdata/script/version_buildvcs_git_gpg.txt
 go119/src/cmd/go/testdata/script/version_buildvcs_hg.txt
 go119/src/cmd/go/testdata/script/version_buildvcs_nested.txt
 go119/src/cmd/go/testdata/script/version_goexperiment.txt
@@ -6348,6 +6348,7 @@
 go119/src/internal/poll/sendfile_solaris.go
 go119/src/internal/poll/sendfile_windows.go
 go119/src/internal/poll/sock_cloexec.go
+go119/src/internal/poll/sock_cloexec_accept.go
 go119/src/internal/poll/sockopt.go
 go119/src/internal/poll/sockopt_linux.go
 go119/src/internal/poll/sockopt_unix.go
@@ -8609,6 +8610,8 @@
 go119/src/syscall/syscall_js.go
 go119/src/syscall/syscall_linux.go
 go119/src/syscall/syscall_linux_386.go
+go119/src/syscall/syscall_linux_accept.go
+go119/src/syscall/syscall_linux_accept4.go
 go119/src/syscall/syscall_linux_amd64.go
 go119/src/syscall/syscall_linux_arm.go
 go119/src/syscall/syscall_linux_arm64.go
@@ -11248,8 +11251,11 @@
 go119/test/fixedbugs/issue5614.dir/y.go
 go119/test/fixedbugs/issue5614.go
 go119/test/fixedbugs/issue56141.go
+go119/test/fixedbugs/issue56727.go
+go119/test/fixedbugs/issue56768.go
 go119/test/fixedbugs/issue5698.go
 go119/test/fixedbugs/issue5704.go
+go119/test/fixedbugs/issue57184.go
 go119/test/fixedbugs/issue5753.go
 go119/test/fixedbugs/issue5755.dir/a.go
 go119/test/fixedbugs/issue5755.dir/main.go
diff -r 296c4b8ae412 -r 8a659cd68f9c lang/go119/distinfo
--- a/lang/go119/distinfo       Wed Jan 11 16:14:43 2023 +0000
+++ b/lang/go119/distinfo       Wed Jan 11 17:24:29 2023 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.6 2022/12/11 23:11:31 nikita Exp $
+$NetBSD: distinfo,v 1.7 2023/01/11 17:24:29 bsiegert Exp $
 
-BLAKE2s (go1.19.4.src.tar.gz) = 2b3038fc8c2c31441b5ddf98b50e5bbc7f7016bf9bae703a2c416468d4abfba6
-SHA512 (go1.19.4.src.tar.gz) = 00866e171d73170583e292439beecdaaee1b8fa907b6ab03013390b0cd7eaebfbe8cb9f9222f1af86933b50602e584677bc3aa25993c02d07a11625a62db263b
-Size (go1.19.4.src.tar.gz) = 26542047 bytes
+BLAKE2s (go1.19.5.src.tar.gz) = 850e4a16be921fcd95c40e406310eae811e64731fa7fcdd546b772cdbcfd2d22
+SHA512 (go1.19.5.src.tar.gz) = 26754f2a4870d0a5484162b626dad5109a33c116675898c84de46155659dadeff2b3fa9ea3dd0c7da8d23c8ff0974cfe42bdd07484e6f784617de3a577b3c883
+Size (go1.19.5.src.tar.gz) = 26545858 bytes
 SHA1 (patch-misc_ios_clangwrap.sh) = 0a06403609cb7bce2e6f65444fd322f486761afe
 SHA1 (patch-src_cmd_dist_util.go) = 2d9c2f59e27672d56f5f1a0e3f9d5101a05546a7
 SHA1 (patch-src_crypto_x509_root__bsd.go) = 0b5dead901450967109303f873a2696c65ccac35
 SHA1 (patch-src_crypto_x509_root__solaris.go) = d636a1599ede225ac339388fba2b6e253112d461
-SHA1 (patch-src_sync_atomic_type.go) = 09935db35b4671ce1930865a5cd5373eef7ffc7c
 SHA1 (patch-src_syscall_zsysnum__solaris__amd64.go) = ec28a0fa37ba9599ec1651c8e9337a2efc48a26b
diff -r 296c4b8ae412 -r 8a659cd68f9c lang/go119/patches/patch-src_sync_atomic_type.go
--- a/lang/go119/patches/patch-src_sync_atomic_type.go  Wed Jan 11 16:14:43 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-# $NetBSD: patch-src_sync_atomic_type.go,v 1.1 2022/12/11 23:11:31 nikita Exp $
-fix a regression in 1.19.4, to be included in 1.19.5
-
-From df5d4d3daab7e022335c0f3304d7b750bdd731a0 Mon Sep 17 00:00:00 2001
-From: Russ Cox <rsc%golang.org@localhost>
-Date: Tue, 15 Nov 2022 09:54:39 -0500
-Subject: [PATCH] [release-branch.go1.19] sync/atomic: allow linked list of atomic pointers again
-
-For #56603, CL 448275 added a _ [0]T field to atomic.Pointer,
-so that different kinds of atomic.Pointer are not convertible.
-
-Unfortunately, that breaks code like:
-
-       type List struct {
-               Next atomic.Pointer[List]
-       }
-
-which should be valid, just as using Next *List is valid.
-Instead, we get:
-
-       ./atomic_test.go:2533:6: invalid recursive type List
-               ./atomic_test.go:2533:6: List refers to
-               ./atomic_test.go:2534:13: "sync/atomic".Pointer refers to
-               ./atomic_test.go:2533:6: List
-
-Fix by using _[0]*T instead.
-
-For #56638.
-Fixes #57124.
-
-Change-Id: Icc4c83c691d35961d20cb14b824223d6c779ac5e
-Reviewed-on: https://go-review.googlesource.com/c/go/+/450655
-Run-TryBot: Russ Cox <rsc%golang.org@localhost>
-TryBot-Result: Gopher Robot <gobot%golang.org@localhost>
-Reviewed-by: Michael Knyszek <mknyszek%google.com@localhost>
-(cherry picked from commit b14cf3d93ae5c477dd35f13f6ba41044f01a7f7d)
-Reviewed-on: https://go-review.googlesource.com/c/go/+/452438
-Reviewed-by: Cherry Mui <cherryyz%google.com@localhost>
-Run-TryBot: Michael Pratt <mpratt%google.com@localhost>
-Reviewed-by: Michael Pratt <mpratt%google.com@localhost>
----
-
-diff --git a/src/sync/atomic/atomic_test.go b/src/sync/atomic/atomic_test.go
-index 02d55fb..3ab5e83 100644
---- src/sync/atomic/atomic_test.go.orig
-+++ src/sync/atomic/atomic_test.go
-@@ -2605,3 +2605,9 @@
-               }()
-       }
- }
-+
-+// Test that this compiles.
-+// When atomic.Pointer used _ [0]T, it did not.
-+type List struct {
-+      Next Pointer[List]
-+}
-diff --git a/src/sync/atomic/type.go b/src/sync/atomic/type.go
-index 2d1e621..93058ca 100644
---- src/sync/atomic/type.go.orig
-+++ src/sync/atomic/type.go
-@@ -37,9 +37,10 @@
- 
- // A Pointer is an atomic pointer of type *T. The zero value is a nil *T.
- type Pointer[T any] struct {
--      // Mention T in a field to disallow conversion between Pointer types.
-+      // Mention *T in a field to disallow conversion between Pointer types.
-       // See go.dev/issue/56603 for more details.
--      _ [0]T
-+      // Use *T, not T, to avoid spurious recursive type definition errors.
-+      _ [0]*T
- 
-       _ noCopy
-       v unsafe.Pointer



Home | Main Index | Thread Index | Old Index