aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker/stat-struct-fixes-mips64.patch
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2020-05-27 22:10:27 +0000
committerAriadne Conill <ariadne@dereferenced.org>2020-05-27 22:10:27 +0000
commit5fb44497ae3a81502ee6e3ab967f4199e2c52177 (patch)
tree1bed96ffc10bbb376efaceeb97eac21d2536d484 /community/docker/stat-struct-fixes-mips64.patch
parent462830307ae011ba094533126675d013ea60ae5d (diff)
downloadaports-5fb44497ae3a81502ee6e3ab967f4199e2c52177.tar.gz
aports-5fb44497ae3a81502ee6e3ab967f4199e2c52177.tar.bz2
aports-5fb44497ae3a81502ee6e3ab967f4199e2c52177.tar.xz
community/docker: fix compilation on mips64
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 @@
+diff --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
+index 98c9eb1..8a090a5 100644
+--- a/components/cli/vendor/github.com/docker/docker/pkg/system/stat_linux.go
++++ b/components/cli/vendor/github.com/docker/docker/pkg/system/stat_linux.go
+@@ -8,7 +8,7 @@ func fromStatT(s *syscall.Stat_t) (*StatT, error) {
+ mode: s.Mode,
+ uid: s.Uid,
+ gid: s.Gid,
+- rdev: s.Rdev,
++ rdev: uint64(s.Rdev),
+ mtim: s.Mtim}, nil
+ }
+