aports/community/zabbix/go-agent-plugin-uname-add-riscv64.patch
Kevin Daudt 94d799d3a1 community/zabbix: fix risv64 patch
The patch enabled uname_int8, but for riscv64 the type is uint8, so fix
the patch to enable the correct file.
2022-04-13 14:42:44 +00:00

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