diff --git a/srcpkgs/golangci-lint/template b/srcpkgs/golangci-lint/template index d142293af97fb4..d6636acc89ddf2 100644 --- a/srcpkgs/golangci-lint/template +++ b/srcpkgs/golangci-lint/template @@ -1,6 +1,6 @@ # Template file for 'golangci-lint' pkgname=golangci-lint -version=1.61.0 +version=1.63.4 revision=1 build_style=go go_import_path="github.com/golangci/golangci-lint" @@ -12,11 +12,17 @@ license="GPL-3.0-only" homepage="https://github.com/golangci/golangci-lint" changelog="https://raw.githubusercontent.com/golangci/golangci-lint/master/CHANGELOG.md" distfiles="https://github.com/golangci/golangci-lint/archive/v${version}.tar.gz" -checksum=f4efcc09dde3eb81ba7e2fc4230d3e99375a4b176dd28c31cab07371cf5c07db +checksum=4424d5e3437fdb723e912c3f4636a69d45155124568132d4440cde9a24be6dac # fix: collect2: fatal error: cannot find 'ld' export LDFLAGS="-fuse-ld=bfd" +# Workaround for go>=1.19 compilation error on i686 +# runtime/cgo(.text): unknown symbol __stack_chk_fail_local in pcrel +if [ "$XBPS_MACHINE" = i686 ]; then + export CGO_CFLAGS="-fno-stack-protector" +fi + post_install() { vdoc README.md }