diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2021-09-04 14:10:33 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2021-09-04 14:10:33 +0000 |
commit | 9f320aa1aaab589866baaa6c1e1cb8e70ee7d0a6 (patch) | |
tree | d8f18c22b53c16f7257cabc0b6c3c66ede1cec64 /sysutils/beats/patches | |
parent | a6d28643a6e5e70ea46c359db57041eed0c14198 (diff) | |
download | pkgsrc-9f320aa1aaab589866baaa6c1e1cb8e70ee7d0a6.tar.gz |
beats: fix obvious mistake in a patch.
Fixes build with Go 1.17.
Diffstat (limited to 'sysutils/beats/patches')
-rw-r--r-- | sysutils/beats/patches/patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/beats/patches/patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.go b/sysutils/beats/patches/patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.go index 539f5dd426b..29b0018747c 100644 --- a/sysutils/beats/patches/patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.go +++ b/sysutils/beats/patches/patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.go @@ -1,4 +1,4 @@ -$NetBSD: patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.go,v 1.1 2019/03/15 15:03:02 he Exp $ +$NetBSD: patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.go,v 1.2 2021/09/04 14:10:33 bsiegert Exp $ We get link errors about runtime.support_avx and runtime.support_avx2, so revert the offending commit from @@ -35,7 +35,7 @@ package) makes it difficult to stamp out this sort of bugs. Sigh! -//go:noescape -func supportsAVX2() bool -+//go:linkname x86_HasAVX internal/cpu.X86.HasSSE4 ++//go:linkname x86_HasSSE4 internal/cpu.X86.HasSSE4 +var x86_HasSSE4 bool + +func init() { |