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}}