From afa2e65ee071380de86c0d532c9c05e7d11c8322 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 17 Feb 2021 00:44:58 +0300 Subject: go: bump to 1.16 --- extra/go/checksums | 4 ++-- extra/go/patches/no-bash.patch | 12 ++++++------ extra/go/sources | 2 +- extra/go/version | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/extra/go/checksums b/extra/go/checksums index 6e1f56f3..e0db713f 100644 --- a/extra/go/checksums +++ b/extra/go/checksums @@ -1,3 +1,3 @@ -540c0ab7781084d124991321ed1458e479982de94454a98afab6acadf38497c2 go1.15.8.src.tar.gz +7688063d55656105898f323d90a79a39c378d86fe89ae192eb3b7fc46347c95a go1.16.src.tar.gz f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52 go1.4-bootstrap-20171003.tar.gz -4166a929288658d8fb2978bab24c1b5a0a8b8996122058c97e207da79db75b92 no-bash.patch +07daf0ad276a320586ff13a16ddb071879bc2c88168b2191b7b97aa9591f4c2e no-bash.patch diff --git a/extra/go/patches/no-bash.patch b/extra/go/patches/no-bash.patch index a1130c0b..56177f16 100644 --- a/extra/go/patches/no-bash.patch +++ b/extra/go/patches/no-bash.patch @@ -1,6 +1,6 @@ diff -ur a/go-current/src/make.bash b/go-current/src/make.bash ---- a/go-current/src/make.bash 2020-12-03 20:32:44.000000000 +0300 -+++ b/go-current/src/make.bash 2021-01-02 00:36:42.692155781 +0300 +--- a/go-current/src/make.bash 2021-02-16 21:12:04.000000000 +0300 ++++ b/go-current/src/make.bash 2021-02-17 00:42:09.963840381 +0300 @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh @@ -30,12 +30,12 @@ diff -ur a/go-current/src/make.bash b/go-current/src/make.bash fi -done; unset IFS +done - GOROOT_BOOTSTRAP_VERSION=$($GOROOT_BOOTSTRAP/bin/go version | sed 's/go version //') - echo "Building Go cmd/dist using $GOROOT_BOOTSTRAP. ($GOROOT_BOOTSTRAP_VERSION)" - if $verbose; then + if [ ! -x "$GOROOT_BOOTSTRAP/bin/go" ]; then + echo "ERROR: Cannot find $GOROOT_BOOTSTRAP/bin/go." >&2 + echo "Set \$GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4." >&2 diff -ur a/go1.4-bootstrap/src/make.bash b/go1.4-bootstrap/src/make.bash --- a/go1.4-bootstrap/src/make.bash 2017-11-22 04:33:58.000000000 +0300 -+++ b/go1.4-bootstrap/src/make.bash 2021-01-02 00:11:00.448427915 +0300 ++++ b/go1.4-bootstrap/src/make.bash 2021-02-17 00:40:52.245631282 +0300 @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh diff --git a/extra/go/sources b/extra/go/sources index 9418119b..be0defec 100644 --- a/extra/go/sources +++ b/extra/go/sources @@ -1,3 +1,3 @@ -https://golang.org/dl/go1.15.8.src.tar.gz go-current +https://golang.org/dl/go1.16.src.tar.gz go-current https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz go1.4-bootstrap patches/no-bash.patch diff --git a/extra/go/version b/extra/go/version index ccc35b25..d1d913ed 100644 --- a/extra/go/version +++ b/extra/go/version @@ -1 +1 @@ -1.15.8 1 +1.16 1 -- cgit v1.2.3