1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

sysutils/ctop: Unbreak build with Go 1.12

PR:		236133
Submitted by:	Dmitri Goutnik <dg@syrec.org> (maintainer)
This commit is contained in:
Steve Wills 2019-03-04 21:47:09 +00:00
parent 5b2b04e149
commit 364d66a15b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494653

View File

@ -0,0 +1,11 @@
--- vendor/github.com/docker/docker/pkg/system/mknod.go.orig 2019-03-01 16:45:25 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