void-packages/srcpkgs/kopia/patches/0001-fix-build-on-some-othe...

37 lines
990 B
Diff

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 +-
fs/localfs/local_fs_64bit.go | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/localfs/local_fs_32bit.go b/fs/localfs/local_fs_32bit.go
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,!ppc64,!ppc64le,!s390x,!386 darwin
package localfs
diff --git a/fs/localfs/local_fs_64bit.go b/fs/localfs/local_fs_64bit.go
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 ppc64 ppc64le s390x arm 386
package localfs
--
2.31.1