You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

91 lines
4.3 KiB

Index: src/github.com/docker/cli/cli/config/credentials/default_store_unsupported.go
--- src/github.com/docker/cli/cli/config/credentials/default_store_unsupported.go.orig 2019-12-15 12:22:35.000000000 +0100
+++ src/github.com/docker/cli/cli/config/credentials/default_store_unsupported.go 2019-12-15 13:40:22.263683000 +0100
@@ -1,4 +1,4 @@
-// +build !windows,!darwin,!linux
+// +build !windows,!darwin,!linux,!freebsd
package credentials
Index: src/github.com/docker/cli/vendor/github.com/containerd/continuity/devices/devices_unix.go
--- src/github.com/docker/cli/vendor/github.com/containerd/continuity/devices/devices_unix.go.orig 2019-12-15 12:23:03.000000000 +0100
+++ src/github.com/docker/cli/vendor/github.com/containerd/continuity/devices/devices_unix.go 2019-12-15 13:40:22.263846000 +0100
@@ -55,7 +55,7 @@
m |= unix.S_IFIFO
}
- return unix.Mknod(p, m, int(dev))
+ return unix.Mknod(p, m, uint64(dev))
}
// syscallMode returns the syscall-specific mode bits from Go's portable mode bits.
Index: src/github.com/docker/cli/vendor/github.com/containerd/continuity/fs/copy_unix.go
--- src/github.com/docker/cli/vendor/github.com/containerd/continuity/fs/copy_unix.go.orig 2019-12-15 12:23:03.000000000 +0100
+++ src/github.com/docker/cli/vendor/github.com/containerd/continuity/fs/copy_unix.go 2019-12-15 13:40:22.894824000 +0100
@@ -108,5 +108,5 @@
if !ok {
return errors.New("unsupported stat type")
}
- return unix.Mknod(dst, uint32(fi.Mode()), int(st.Rdev))
+ return unix.Mknod(dst, uint32(fi.Mode()), uint64(st.Rdev))
}
Index: src/github.com/docker/cli/vendor/github.com/docker/docker/pkg/archive/archive_unix.go
--- src/github.com/docker/cli/vendor/github.com/docker/docker/pkg/archive/archive_unix.go.orig 2019-12-15 12:24:07.000000000 +0100
+++ src/github.com/docker/cli/vendor/github.com/docker/docker/pkg/archive/archive_unix.go 2019-12-15 13:40:22.894963000 +0100
@@ -63,7 +63,7 @@
s, ok := stat.(*syscall.Stat_t)
if ok {
- inode = s.Ino
+ inode = uint64(s.Ino)
}
return
Index: src/github.com/docker/cli/vendor/github.com/docker/docker/pkg/archive/changes_unix.go
--- src/github.com/docker/cli/vendor/github.com/docker/docker/pkg/archive/changes_unix.go.orig 2019-12-15 12:24:07.000000000 +0100
+++ src/github.com/docker/cli/vendor/github.com/docker/docker/pkg/archive/changes_unix.go 2019-12-15 13:40:22.895075000 +0100
@@ -35,7 +35,7 @@
}
func getIno(fi os.FileInfo) uint64 {
- return fi.Sys().(*syscall.Stat_t).Ino
+ return uint64(fi.Sys().(*syscall.Stat_t).Ino)
}
func hasHardlinks(fi os.FileInfo) bool {
Index: src/github.com/docker/cli/vendor/github.com/docker/docker/pkg/system/mknod.go
--- src/github.com/docker/cli/vendor/github.com/docker/docker/pkg/system/mknod.go.orig 2019-12-15 12:24:07.000000000 +0100
+++ src/github.com/docker/cli/vendor/github.com/docker/docker/pkg/system/mknod.go 2019-12-15 13:40:22.895195000 +0100
@@ -9,7 +9,7 @@
// 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 unix.Mknod(path, mode, dev)
+ return unix.Mknod(path, mode, uint64(dev))
}
// Mkdev is used to build the value of linux devices (in /dev/) which specifies major
Index: src/github.com/docker/cli/vendor/github.com/tonistiigi/fsutil/diskwriter_unix.go
--- src/github.com/docker/cli/vendor/github.com/tonistiigi/fsutil/diskwriter_unix.go.orig 2019-12-15 12:23:15.000000000 +0100
+++ src/github.com/docker/cli/vendor/github.com/tonistiigi/fsutil/diskwriter_unix.go 2019-12-15 13:40:22.895314000 +0100
@@ -45,7 +45,7 @@
mode |= syscall.S_IFBLK
}
- if err := syscall.Mknod(path, mode, int(mkdev(stat.Devmajor, stat.Devminor))); err != nil {
+ if err := syscall.Mknod(path, mode, uint64(mkdev(stat.Devmajor, stat.Devminor))); err != nil {
return err
}
return nil
Index: src/github.com/docker/cli/vendor/github.com/tonistiigi/fsutil/stat_unix.go
--- src/github.com/docker/cli/vendor/github.com/tonistiigi/fsutil/stat_unix.go.orig 2019-12-15 12:23:15.000000000 +0100
+++ src/github.com/docker/cli/vendor/github.com/tonistiigi/fsutil/stat_unix.go 2019-12-15 13:40:22.895426000 +0100
@@ -45,7 +45,7 @@
stat.Devminor = int64(minor(uint64(s.Rdev)))
}
- ino := s.Ino
+ ino := uint64(s.Ino)
linked := false
if seenFiles != nil {
if s.Nlink > 1 {