git: 7227c569bdf4 - main - biology/kmcp: fix build on i386 and riscv64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Mar 2023 20:56:45 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=7227c569bdf4ff7a747b2db3dd2f22ae604291be commit 7227c569bdf4ff7a747b2db3dd2f22ae604291be Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-03-23 01:20:45 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-03-24 20:54:47 +0000 biology/kmcp: fix build on i386 and riscv64 - fix an issue with wrong copy-editing in a fork of one of my Go packages - fix an issue with wrong build constraints Sponsored by: Berliner Linux User Group e.V. Approved by: portmgr (build fix blanket) --- .../patch-vendor_github.com_shenwei356_pand_select__other.go | 11 +++++++++++ ...tch-vendor_github.com_shenwei356_pospop_select__generic.go | 9 +++++++++ 2 files changed, 20 insertions(+) diff --git a/biology/kmcp/files/patch-vendor_github.com_shenwei356_pand_select__other.go b/biology/kmcp/files/patch-vendor_github.com_shenwei356_pand_select__other.go new file mode 100644 index 000000000000..8b9ea9af937e --- /dev/null +++ b/biology/kmcp/files/patch-vendor_github.com_shenwei356_pand_select__other.go @@ -0,0 +1,11 @@ +--- vendor/github.com/shenwei356/pand/select_other.go.orig 2023-03-24 18:40:11 UTC ++++ vendor/github.com/shenwei356/pand/select_other.go +@@ -1,7 +1,7 @@ + // we adopt the similar method to choose platform relevant function from: + // https://github.com/clausecker/pospop + +-//go:build !amd64 && !386 ++//go:build !amd64 + + package pand + diff --git a/biology/kmcp/files/patch-vendor_github.com_shenwei356_pospop_select__generic.go b/biology/kmcp/files/patch-vendor_github.com_shenwei356_pospop_select__generic.go new file mode 100644 index 000000000000..4f440fbb68a7 --- /dev/null +++ b/biology/kmcp/files/patch-vendor_github.com_shenwei356_pospop_select__generic.go @@ -0,0 +1,9 @@ +--- vendor/github.com/shenwei356/pospop/select_generic.go.orig 2023-03-23 01:18:29 UTC ++++ vendor/github.com/shenwei356/pospop/select_generic.go +@@ -7,6 +7,3 @@ package pospop + + // generic variants only + var count8funcs = []count8impl{{count8generic, "generic", true}} +-var count16funcs = []count16impl{{count16generic, "generic", true}} +-var count32funcs = []count32impl{{count32generic, "generic", true}} +-var count64funcs = []count64impl{{count64generic, "generic", true}}