mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/linuxkit: backport patch to support loongarch64
backport patch: https://github.com/creack/goselect/pull/20
This commit is contained in:
parent
46d50d9f45
commit
2f3bf80692
@ -10,7 +10,8 @@ arch="all !x86 !armhf !armv7 !riscv64"
|
||||
license="Apache-2.0"
|
||||
makedepends="go"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxkit/linuxkit/archive/refs/tags/v$pkgver.tar.gz"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxkit/linuxkit/archive/refs/tags/v$pkgver.tar.gz
|
||||
add-loongarch64-support.patch"
|
||||
builddir="$srcdir/$pkgname-$pkgver/src/cmd/linuxkit"
|
||||
|
||||
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
||||
@ -38,4 +39,5 @@ package() {
|
||||
|
||||
sha512sums="
|
||||
5cc5b8ef7005e64185a46e94c0e7102b040959d040b88fd565121842c8f0f061511b41c6bb397255aa02a2508c7d60e48e03e68ba25c7376209554a4ea0ab370 linuxkit-1.2.0.tar.gz
|
||||
92b79d7c5e2b73b24a5bf6f86244e716c434177ec35decba85baa633fd89d7e77c59d7de9f3aecdb057757972f06cdeced25300b629210494c0e6c10dd54670e add-loongarch64-support.patch
|
||||
"
|
||||
|
||||
11
testing/linuxkit/add-loongarch64-support.patch
Normal file
11
testing/linuxkit/add-loongarch64-support.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff --git a/vendor/github.com/creack/goselect/fdset_64.go b/vendor/github.com/creack/goselect/fdset_64.go
|
||||
index 0e70213..88136e5 100644
|
||||
--- a/vendor/github.com/creack/goselect/fdset_64.go
|
||||
+++ b/vendor/github.com/creack/goselect/fdset_64.go
|
||||
@@ -1,5 +1,5 @@
|
||||
// +build !darwin,!netbsd,!openbsd
|
||||
-// +build amd64 arm64 ppc64le mips64 mips64le s390x
|
||||
+// +build amd64 arm64 ppc64le mips64 mips64le s390x loong64
|
||||
|
||||
package goselect
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user