kopia: fix patch to fix build on ppc64le

This commit is contained in:
q66 2021-07-12 21:08:44 +02:00
parent cd0cdb3c2e
commit 8adf515abb
1 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
From 5ab8f2e3c495d10ce5a9e824f9ea5b9996569858 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= <daniel.eysser@gmail.com>
Date: Sat, 10 Jul 2021 15:11:38 +0200
Subject: [PATCH] Fix i386 build
From c459db789408dd31232911e5ba4832aecec41797 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 12 Jul 2021 21:06:46 +0200
Subject: [PATCH] fix build on some other archs
---
fs/localfs/local_fs_32bit.go | 2 +-
@ -9,28 +9,28 @@ Subject: [PATCH] Fix i386 build
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/localfs/local_fs_32bit.go b/fs/localfs/local_fs_32bit.go
index 4ab84784..5a80ed5e 100644
index 4ab8478..863d184 100644
--- a/fs/localfs/local_fs_32bit.go
+++ b/fs/localfs/local_fs_32bit.go
@@ -1,5 +1,5 @@
// +build !windows
-// +build !amd64,!arm64,!arm darwin
+// +build !amd64,!arm64,!arm,!386 darwin
+// +build !amd64,!arm64,!arm,!ppc64,!ppc64le,!s390x,!386 darwin
package localfs
diff --git a/fs/localfs/local_fs_64bit.go b/fs/localfs/local_fs_64bit.go
index 156f85ff..4c653362 100644
index 156f85f..f33bf34 100644
--- a/fs/localfs/local_fs_64bit.go
+++ b/fs/localfs/local_fs_64bit.go
@@ -1,6 +1,6 @@
// +build !windows
// +build !darwin
-// +build amd64 arm64 arm
+// +build amd64 arm64 arm 386
+// +build amd64 arm64 ppc64 ppc64le s390x arm 386
package localfs
--
2.32.0
2.31.1