void-packages/srcpkgs/kopia/patches/0001-Fix-i386-build.patch

37 lines
967 B
Diff
Raw Normal View History

2021-04-10 13:05:03 +02:00
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
---
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 4ab84784..5a80ed5e 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
package localfs
diff --git a/fs/localfs/local_fs_64bit.go b/fs/localfs/local_fs_64bit.go
index 156f85ff..4c653362 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
package localfs
--
2.32.0