HomeFreeBSD

www/minio: Unbreak on i386

Description

www/minio: Unbreak on i386

vendor/github.com/minio/mc/pkg/disk/stat_freebsd.go:38:41: cannot use st.Atimespec.Sec (variable of type int32) as type int64 in argument to strconv.FormatInt
vendor/github.com/minio/mc/pkg/disk/stat_freebsd.go:38:89: cannot use st.Atimespec.Nsec (variable of type int32) as type int64 in argument to strconv.FormatInt
vendor/github.com/minio/mc/pkg/disk/stat_freebsd.go:51:41: cannot use st.Mtimespec.Sec (variable of type int32) as type int64 in argument to strconv.FormatInt
vendor/github.com/minio/mc/pkg/disk/stat_freebsd.go:51:89: cannot use st.Mtimespec.Nsec (variable of type int32) as type int64 in argument to strconv.FormatInt

Convert syscall.Timespec fields to int64 on all archs.

Reported by: fallout
Approved by: portmgr (blanket, build fix)

(cherry picked from commit 9cb58b7c9443ff7492f9f8960bf6cf75ccc19514)

Details

Provenance
dmgkAuthored on Jul 17 2022, 3:54 PM
Parents
R11:e8664c5974ba: sysutils/aptly: Unbreak on arm64
Branches
Unknown
Tags
Unknown