diff --git a/sysutils/nomad/Makefile b/sysutils/nomad/Makefile index 5a5f9553d1d1..bdd2fb5d4f89 100644 --- a/sysutils/nomad/Makefile +++ b/sysutils/nomad/Makefile @@ -11,8 +11,6 @@ COMMENT= Cluster manager and scheduler LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN= fails to build - ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= On i386: go compiler crashes: https://github.com/golang/go/issues/23763 diff --git a/sysutils/nomad/files/patch-vendor_github.com_docker_docker_pkg_system_mknod.go b/sysutils/nomad/files/patch-vendor_github.com_docker_docker_pkg_system_mknod.go new file mode 100644 index 000000000000..d55828791c93 --- /dev/null +++ b/sysutils/nomad/files/patch-vendor_github.com_docker_docker_pkg_system_mknod.go @@ -0,0 +1,11 @@ +--- vendor/github.com/docker/docker/pkg/system/mknod.go.orig 2019-03-28 15:47:27 UTC ++++ vendor/github.com/docker/docker/pkg/system/mknod.go +@@ -9,7 +9,7 @@ import ( + // Mknod creates a filesystem node (file, device special file or named pipe) named path + // with attributes specified by mode and dev. + func Mknod(path string, mode uint32, dev int) error { +- return syscall.Mknod(path, mode, dev) ++ return syscall.Mknod(path, mode, uint64(dev)) + } + + // Mkdev is used to build the value of linux devices (in /dev/) which specifies major