git: b512e969f753 - main - net/traefik: Fix build on 32 bit archs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Mar 2024 13:18:58 UTC
The branch main has been updated by riggs: URL: https://cgit.FreeBSD.org/ports/commit/?id=b512e969f753bb2135f3157bf711fdf60db9e37a commit b512e969f753bb2135f3157bf711fdf60db9e37a Author: Thomas Zander <riggs@FreeBSD.org> AuthorDate: 2024-03-01 12:43:40 +0000 Commit: Thomas Zander <riggs@FreeBSD.org> CommitDate: 2024-03-01 13:18:56 +0000 net/traefik: Fix build on 32 bit archs --- .../files/patch-pkg_collector_hydratation_hydration.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/net/traefik/files/patch-pkg_collector_hydratation_hydration.go b/net/traefik/files/patch-pkg_collector_hydratation_hydration.go new file mode 100644 index 000000000000..599cf8be55c8 --- /dev/null +++ b/net/traefik/files/patch-pkg_collector_hydratation_hydration.go @@ -0,0 +1,11 @@ +--- pkg/collector/hydratation/hydration.go.orig 2024-02-12 15:25:23 UTC ++++ pkg/collector/hydratation/hydration.go +@@ -56,7 +56,7 @@ func fill(field reflect.Value) error { + case reflect.Int64: + switch field.Type() { + case reflect.TypeOf(types.Duration(time.Second)): +- setTyped(field, int64(defaultNumber*int(time.Second))) ++ setTyped(field, int64(defaultNumber)*int64(time.Second)) + default: + setTyped(field, int64(defaultNumber)) + }