From e71079517f16fee6759bad2be14f574c3548743e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Chigot?= <clement.chigot@atos.net>
Date: Tue, 1 Mar 2022 09:25:26 +0100
Subject: [PATCH] libgo: move golang.org/x/sync/semaphore to gotool packages

golang/x/sync/semaphore is required by gofmt.go.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/388634
---
 gcc/go/gofrontend/MERGE   | 2 +-
 libgo/gotool-packages.txt | 1 +
 libgo/libgo-packages.txt  | 1 -
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 5cf2ace711b6..7778cd912353 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-34dece725f9f8826f4abe86209112626867bc716
+943b95876ca0f14c3cea7067d33170ba76cf0fab
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
diff --git a/libgo/gotool-packages.txt b/libgo/gotool-packages.txt
index 78ce9ba602a2..8e105030a7bf 100644
--- a/libgo/gotool-packages.txt
+++ b/libgo/gotool-packages.txt
@@ -63,6 +63,7 @@ golang.org/x/mod/sumdb/dirhash
 golang.org/x/mod/sumdb/note
 golang.org/x/mod/sumdb/tlog
 golang.org/x/mod/zip
+golang.org/x/sync/semaphore
 golang.org/x/tools/go/analysis
 golang.org/x/tools/go/analysis/internal/analysisflags
 golang.org/x/tools/go/analysis/internal/facts
diff --git a/libgo/libgo-packages.txt b/libgo/libgo-packages.txt
index cb2f19d61b3f..6b722e1c3ecc 100644
--- a/libgo/libgo-packages.txt
+++ b/libgo/libgo-packages.txt
@@ -95,7 +95,6 @@ golang.org/x/net/http/httpproxy
 golang.org/x/net/http2/hpack
 golang.org/x/net/idna
 golang.org/x/net/nettest
-golang.org/x/sync/semaphore
 golang.org/x/sys/cpu
 golang.org/x/text/secure/bidirule
 golang.org/x/text/transform
-- 
GitLab