1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

net-mgmt/mysqld_exporter: Update to 0.12.1

- update to 0.12.1
  - fix build on aarch64

PR:		245143
Approved by:	mr.deadlystorm@gmail.com (maintainer, timeout)
This commit is contained in:
Mikael Urankar 2020-05-02 11:21:36 +00:00
parent c59d368b1d
commit 06df2fc873
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533685
3 changed files with 29 additions and 6 deletions

View File

@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= mysqld_exporter
PORTVERSION= 0.11.0
PORTVERSION= 0.12.1
DISTVERSIONPREFIX=v
PORTREVISION= 1
CATEGORIES= net-mgmt
MAINTAINER= mr.deadlystorm@gmail.com
@ -12,7 +11,7 @@ COMMENT= Prometheus exporter for MySQL server metrics
LICENSE= APACHE20
USES= go
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= prometheus

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1544123103
SHA256 (prometheus-mysqld_exporter-v0.11.0_GH0.tar.gz) = d4cbe1b67b4eb5154c7e3e1c1d03250b2d1a8eca825bff547e3b69eb8555e617
SIZE (prometheus-mysqld_exporter-v0.11.0_GH0.tar.gz) = 1393809
TIMESTAMP = 1585675193
SHA256 (prometheus-mysqld_exporter-v0.12.1_GH0.tar.gz) = 8fdd21c629963f5275ac772f59e8d32bafc8aee1ae61cf8ae996f30c92cbc360
SIZE (prometheus-mysqld_exporter-v0.12.1_GH0.tar.gz) = 1910780

View File

@ -0,0 +1,24 @@
From 33540a1f603772f9d4b761f416f5c10dade23e96 Mon Sep 17 00:00:00 2001
From: Tobias Klauser <tklauser@distanz.ch>
Date: Fri, 25 Oct 2019 21:13:51 +0200
Subject: [PATCH] unix: don't use non-existing uint128 type on freebsd/arm64
CL 179099 introduced type FpReg on freebsd, on freebsd/arm64 using a
type uint128. This type doesn't exist in Go.
Change-Id: Ie7f065f38f2cc2c163abdfa7dddad886b8edbe3b
Reviewed-on: https://go-review.googlesource.com/c/sys/+/203419
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
--- vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go.orig 2019-08-18 13:42:05 UTC
+++ vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
@@ -397,7 +397,7 @@ type Reg struct {
}
type FpReg struct {
- Fp_q [32]uint128
+ Fp_q [512]uint8
Fp_sr uint32
Fp_cr uint32
}