mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/hubble-cli: fix build on loongarch64
This commit is contained in:
parent
2f3bf80692
commit
ab6bbd5c8a
@ -14,6 +14,7 @@ subpackages="
|
||||
"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/cilium/hubble/archive/refs/tags/v$pkgver.tar.gz
|
||||
byteorder-add-s390x-support.patch
|
||||
byteorder-add-loongarch64-support.patch
|
||||
"
|
||||
builddir="$srcdir/hubble-$pkgver"
|
||||
|
||||
@ -54,4 +55,5 @@ package() {
|
||||
sha512sums="
|
||||
d23c30948910d9b32c5d7ff67851f8192af3ab87d2232337ad16f15c4ac51e7414114e9ce0843b16bee7fd1dc257f010f057718426c905d45fbb3e62888bf29e hubble-cli-0.13.3.tar.gz
|
||||
872ccb44ac714420f87c476743d7be1b644c3a5c7e2a975d47720dc970c632ce82bb678421b053ebbc219d4a3b1f2c9f37aa74f3733a055b0f8c1dbe15fed23f byteorder-add-s390x-support.patch
|
||||
00c2c1e6d4e1d555c5363357483092c5161ca461d9a58f5206d1e1c84c7858e02ba77d505a798c014faf66e974ccbf68abb502e60aa3076f778bb15337670609 byteorder-add-loongarch64-support.patch
|
||||
"
|
||||
|
||||
13
testing/hubble-cli/byteorder-add-loongarch64-support.patch
Normal file
13
testing/hubble-cli/byteorder-add-loongarch64-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..7cf8ef0 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 || wasm || loong64
|
||||
|
||||
package byteorder
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user