From 38b937fe5b5ad7db67b2d840aa8b5054aae2304e Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 2 Feb 2023 17:11:53 +0100 Subject: syncthing: fix build with latest version of go --- community/syncthing/build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'community/syncthing/build') diff --git a/community/syncthing/build b/community/syncthing/build index a4bd983e..43e614e4 100755 --- a/community/syncthing/build +++ b/community/syncthing/build @@ -4,6 +4,8 @@ export GOPATH="$PWD/gopath" export GOFLAGS="$GOFLAGS -mod=vendor" trap "go clean -modcache" EXIT INT +patch -p1 < go-1.20.patch + go run build.go -no-upgrade -version "v$2" build clinst -Dm755 syncthing "$1/usr/bin/syncthing" -- cgit v1.2.3