docker/patch/0175-docker-components-engine-vendor-add-riscv64-config.patch
yangyanchao 4780a2ff0e docker:components:add config files for riscv
Signe:-off-by: yangyanchao <yangyanchao6@huawei.com>
2021-01-04 10:45:04 +08:00

78 lines
3.8 KiB
Diff

From c97b550df673a7ceb1f801b7099476feba622130 Mon Sep 17 00:00:00 2001
From: yangyanchao <yangyanchao6@huawei.com>
Date: Sat, 19 Dec 2020 09:19:31 +0000
Subject: [PATCH 1/3] docker:components:engine:vendor:add riscv64 config in
existing files
Signed-off-by: yangyanchao <yangyanchao6@huawei.com>
---
.../drivers/bridge/netlink_deprecated_linux_armppc64.go | 2 +-
.../drivers/bridge/netlink_deprecated_linux_notarm.go | 2 +-
.../golang.org/x/net/internal/socket/cmsghdr_linux_64bit.go | 2 +-
.../vendor/golang.org/x/net/internal/socket/iovec_64bit.go | 2 +-
.../golang.org/x/net/internal/socket/msghdr_linux_64bit.go | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/components/engine/vendor/github.com/docker/libnetwork/drivers/bridge/netlink_deprecated_linux_armppc64.go b/components/engine/vendor/github.com/docker/libnetwork/drivers/bridge/netlink_deprecated_linux_armppc64.go
index 739d9c6..a937f50 100644
--- a/components/engine/vendor/github.com/docker/libnetwork/drivers/bridge/netlink_deprecated_linux_armppc64.go
+++ b/components/engine/vendor/github.com/docker/libnetwork/drivers/bridge/netlink_deprecated_linux_armppc64.go
@@ -1,4 +1,4 @@
-// +build arm ppc64 ppc64le
+// +build arm ppc64 ppc64le riscv64
package bridge
diff --git a/components/engine/vendor/github.com/docker/libnetwork/drivers/bridge/netlink_deprecated_linux_notarm.go b/components/engine/vendor/github.com/docker/libnetwork/drivers/bridge/netlink_deprecated_linux_notarm.go
index df52695..68d368c 100644
--- a/components/engine/vendor/github.com/docker/libnetwork/drivers/bridge/netlink_deprecated_linux_notarm.go
+++ b/components/engine/vendor/github.com/docker/libnetwork/drivers/bridge/netlink_deprecated_linux_notarm.go
@@ -1,4 +1,4 @@
-// +build !arm,!ppc64,!ppc64le
+// +build !arm,!ppc64,!ppc64le,!riscv64
package bridge
diff --git a/components/engine/vendor/golang.org/x/net/internal/socket/cmsghdr_linux_64bit.go b/components/engine/vendor/golang.org/x/net/internal/socket/cmsghdr_linux_64bit.go
index 63f0534..852a71b 100644
--- a/components/engine/vendor/golang.org/x/net/internal/socket/cmsghdr_linux_64bit.go
+++ b/components/engine/vendor/golang.org/x/net/internal/socket/cmsghdr_linux_64bit.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build arm64 amd64 ppc64 ppc64le mips64 mips64le s390x
+// +build arm64 amd64 ppc64 ppc64le mips64 mips64le s390x riscv64
// +build linux
package socket
diff --git a/components/engine/vendor/golang.org/x/net/internal/socket/iovec_64bit.go b/components/engine/vendor/golang.org/x/net/internal/socket/iovec_64bit.go
index afb34ad..a2b17e2 100644
--- a/components/engine/vendor/golang.org/x/net/internal/socket/iovec_64bit.go
+++ b/components/engine/vendor/golang.org/x/net/internal/socket/iovec_64bit.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build arm64 amd64 ppc64 ppc64le mips64 mips64le s390x
+// +build arm64 amd64 ppc64 ppc64le mips64 mips64le s390x riscv64
// +build darwin dragonfly freebsd linux netbsd openbsd
package socket
diff --git a/components/engine/vendor/golang.org/x/net/internal/socket/msghdr_linux_64bit.go b/components/engine/vendor/golang.org/x/net/internal/socket/msghdr_linux_64bit.go
index 610fc4f..375d402 100644
--- a/components/engine/vendor/golang.org/x/net/internal/socket/msghdr_linux_64bit.go
+++ b/components/engine/vendor/golang.org/x/net/internal/socket/msghdr_linux_64bit.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build arm64 amd64 ppc64 ppc64le mips64 mips64le s390x
+// +build arm64 amd64 ppc64 ppc64le mips64 mips64le s390x riscv64
// +build linux
package socket
--
2.23.0