mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/cilium-cli: fix build on loongarch64
Signed-off-by: Weijie Wang <wangweijie@loongson.cn>
This commit is contained in:
parent
ab6bbd5c8a
commit
69aacc3a34
@ -14,6 +14,7 @@ subpackages="
|
||||
"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/cilium/cilium-cli/archive/refs/tags/v$pkgver.tar.gz
|
||||
byteorder-add-s390x-support.patch
|
||||
byteorder-add-loongarch-support.patch
|
||||
"
|
||||
|
||||
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
||||
@ -48,4 +49,5 @@ package() {
|
||||
sha512sums="
|
||||
8c62877c58b9a3d855d5edc4f89a1f525ebb7ab1863df73e9106ad6fbca7536ba3b8d85e4f5a86f8fbde873b53fd23ff3389179b247f4c7aaad6bbaa18fba773 cilium-cli-0.16.6.tar.gz
|
||||
872ccb44ac714420f87c476743d7be1b644c3a5c7e2a975d47720dc970c632ce82bb678421b053ebbc219d4a3b1f2c9f37aa74f3733a055b0f8c1dbe15fed23f byteorder-add-s390x-support.patch
|
||||
a0fadbf5b6691eeaed63297fb3a53a35977550169885f1bf283403b453d8d23cb42b7d1b94fd8519c58e5deb8e87b1a21b074d4224881cacd2d74f3c1dd67c2e byteorder-add-loongarch-support.patch
|
||||
"
|
||||
|
||||
13
testing/cilium-cli/byteorder-add-loongarch-support.patch
Normal file
13
testing/cilium-cli/byteorder-add-loongarch-support.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/vendor/github.com/cilium/cilium/pkg/byteorder/byteorder_littleendian.go b/vendor/github.com/cilium/cilium/pkg/byteorder/byteorder_littleendian.go
|
||||
index 0fffee1..f0cd9a5 100644
|
||||
--- a/vendor/github.com/cilium/cilium/pkg/byteorder/byteorder_littleendian.go
|
||||
+++ b/vendor/github.com/cilium/cilium/pkg/byteorder/byteorder_littleendian.go
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright Authors of Cilium
|
||||
|
||||
-//go:build 386 || amd64 || arm || arm64 || mips64le || ppc64le || riscv64 || wasm
|
||||
+//go:build 386 || amd64 || arm || arm64 || mips64le || ppc64le || riscv64 || loong64 || wasm
|
||||
|
||||
package byteorder
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user