mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 05:31:25 +02:00
The patch enabled uname_int8, but for riscv64 the type is uint8, so fix the patch to enable the correct file.
13 lines
530 B
Diff
13 lines
530 B
Diff
diff --git a/src/go/plugins/system/uname/uname_uint8.go b/src/go/plugins/system/uname/uname_uint8.go
|
|
index 56868f9..6418627 100644
|
|
--- a/src/go/plugins/system/uname/uname_uint8.go
|
|
+++ b/src/go/plugins/system/uname/uname_uint8.go
|
|
@@ -1,5 +1,5 @@
|
|
-//go:build (linux && arm) || (linux && ppc64le) || (linux && s390x)
|
|
-// +build linux,arm linux,ppc64le linux,s390x
|
|
+//go:build (linux && arm) || (linux && ppc64le) || (linux && s390x) || (linux && riscv64)
|
|
+// +build linux,arm linux,ppc64le linux,s390x linux,riscv64
|
|
|
|
/*
|
|
** Zabbix
|