aboutsummaryrefslogtreecommitdiff
path: root/community/docker/stat-struct-fixes-mips64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/docker/stat-struct-fixes-mips64.patch')
-rw-r--r--community/docker/stat-struct-fixes-mips64.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/docker/stat-struct-fixes-mips64.patch b/community/docker/stat-struct-fixes-mips64.patch
new file mode 100644
index 0000000000..f9f7f4fd49
--- /dev/null
+++ b/community/docker/stat-struct-fixes-mips64.patch
@@ -0,0 +1,13 @@
1diff --git a/docker-ce-19.03.8/components/cli/vendor/github.com/docker/docker/pkg/system/stat_linux.go b/docker-ce-19.03.8/components/cli/vendor/github.com/docker/docker/pkg/system/stat_linux.go
2index 98c9eb1..8a090a5 100644
3--- a/components/cli/vendor/github.com/docker/docker/pkg/system/stat_linux.go
4+++ b/components/cli/vendor/github.com/docker/docker/pkg/system/stat_linux.go
5@@ -8,7 +8,7 @@ func fromStatT(s *syscall.Stat_t) (*StatT, error) {
6 mode: s.Mode,
7 uid: s.Uid,
8 gid: s.Gid,
9- rdev: s.Rdev,
10+ rdev: uint64(s.Rdev),
11 mtim: s.Mtim}, nil
12 }
13