mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/prometheus-unbound-exporter: fix build error on loongarch64
This commit is contained in:
parent
c450d1cfdc
commit
aa0fe348e7
@ -0,0 +1,38 @@
|
||||
From c4b06d0d1d0a3bbb960eb4fdc52027bbd3195ec4 Mon Sep 17 00:00:00 2001
|
||||
From: Wenlong Zhang <zhangwenlong@loongson.cn>
|
||||
Date: Tue, 25 Jun 2024 12:15:50 +0000
|
||||
Subject: [PATCH] fix build error for prometheus-unbound-exporter
|
||||
|
||||
---
|
||||
go.mod | 2 +-
|
||||
go.sum | 2 ++
|
||||
2 files changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/go.mod b/go.mod
|
||||
index fdb153c..c814356 100644
|
||||
--- a/go.mod
|
||||
+++ b/go.mod
|
||||
@@ -10,6 +10,6 @@ require (
|
||||
github.com/prometheus/client_golang v1.11.0
|
||||
github.com/prometheus/common v0.32.1
|
||||
github.com/prometheus/procfs v0.7.3 // indirect
|
||||
- golang.org/x/sys v0.0.0-20211112193437-faf0a1b62c6b // indirect
|
||||
+ golang.org/x/sys v0.6.0 // indirect
|
||||
google.golang.org/protobuf v1.27.1 // indirect
|
||||
)
|
||||
diff --git a/go.sum b/go.sum
|
||||
index f22157c..ed91487 100644
|
||||
--- a/go.sum
|
||||
+++ b/go.sum
|
||||
@@ -312,6 +312,8 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7w
|
||||
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20211112193437-faf0a1b62c6b h1:uo+9AuR+gDt/gdj+1BaLhdOHsaGI6YU6585IiDcLrFE=
|
||||
golang.org/x/sys v0.0.0-20211112193437-faf0a1b62c6b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
+golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ=
|
||||
+golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
--
|
||||
2.45.2
|
||||
|
@ -15,6 +15,7 @@ source="$_pkgname-$pkgver.tar.gz::https://github.com/letsencrypt/unbound_exporte
|
||||
unbound-exporter.initd
|
||||
unbound-exporter.confd
|
||||
0001-dont-authenticate-by-default.patch
|
||||
0001-fix-build-error-for-prometheus-unbound-exporter.patch
|
||||
"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
options="!check" # no test suite available
|
||||
@ -42,4 +43,5 @@ sha512sums="
|
||||
99acbb1af5ea1d0f37ec282f8c5dfb884e1d184baa7d5cd0132e63da88defd170fb0db44c762b02a169d93677333231bfb1f7740a401b4e0d64217e8d38927a4 unbound-exporter.initd
|
||||
2fecc0fdf9da9179ad24c14651efec341fccf3747d4570fe0ca5e1f5db1eb7ec49ce84add28d2804c03c95acd9762a660dfe5577fe26265ef35a82fa9c455aad unbound-exporter.confd
|
||||
7f806a9a19da38e790c978c411f9f37e1ddda7e74b37b3c691111fe86c79957d9704f1b4ee15d25da54b749e2c7322c6833087618455d05be7768452f4522d50 0001-dont-authenticate-by-default.patch
|
||||
535c456594d20f511e99823b69dba280475620ac1f398f4ceb7545909aa235af39fa367f3e6b6933b045559acb8e8d1100b3a0e02106612de2d787405c183f8e 0001-fix-build-error-for-prometheus-unbound-exporter.patch
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user