Version 1.47.0 does not compile with FreeBSD
Dear all,
if I try to compile gitaly 1.47.0 which is required for version 12.x I get the following error message:
go: extracting golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
go: extracting google.golang.org/genproto v0.0.0-20181202183823-bd91e49a0898
# gitlab.com/gitlab-org/gitaly/internal/helper/fstype
internal/helper/fstype/fstype.go:7:15: undefined: statFileSystemType
gmake[1]: *** [Makefile:54: build] Error 2
If I copy the file:
${CP} ${WRKSRC}/internal/helper/fstype/detect_linux.go ${WRKSRC}/internal/helper/fstype/detect_freebsd.go
It compiles fine.
What do you suggest to fix this?