Skip to content
Snippets Groups Projects
Commit 09331450 authored by Roger Shimizu's avatar Roger Shimizu
Browse files

debian/patches: Add patch to fix FTBFS on i386 platform

Closes: #860703
parent 939186e2
No related branches found
No related tags found
No related merge requests found
golang-github-jacobsa-fuse (0.0~git20150806.0.9a7512a-2) UNRELEASED; urgency=medium golang-github-jacobsa-fuse (0.0~git20150806.0.9a7512a-2) UNRELEASED; urgency=medium
* Team upload. * Team upload.
[ Paul Tagliamonte ]
* Use a secure transport for the Vcs-Git and Vcs-Browser URL * Use a secure transport for the Vcs-Git and Vcs-Browser URL
[ Roger Shimizu ]
* debian/patches:
- Add patch to fix FTBFS on i386 platform (Closes: #860703).
-- Paul Tagliamonte <paultag@debian.org> Wed, 29 Jun 2016 20:42:47 -0400 -- Paul Tagliamonte <paultag@debian.org> Wed, 29 Jun 2016 20:42:47 -0400
golang-github-jacobsa-fuse (0.0~git20150806.0.9a7512a-1) unstable; urgency=medium golang-github-jacobsa-fuse (0.0~git20150806.0.9a7512a-1) unstable; urgency=medium
......
From: Roger Shimizu <rogershimizu@gmail.com>
Date: Tue, 2 May 2017 09:56:18 +0900
Subject: Fix FTBFS on i386 platform
---
fusetesting/stat_linux.go | 2 +-
internal/buffer/runtime.s | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fusetesting/stat_linux.go b/fusetesting/stat_linux.go
index eec3568..07da23a 100644
--- a/fusetesting/stat_linux.go
+++ b/fusetesting/stat_linux.go
@@ -30,7 +30,7 @@ func extractBirthtime(sys interface{}) (birthtime time.Time, ok bool) {
}
func extractNlink(sys interface{}) (nlink uint64, ok bool) {
- nlink = sys.(*syscall.Stat_t).Nlink
+ nlink = (uint64)(sys.(*syscall.Stat_t).Nlink)
ok = true
return
}
diff --git a/internal/buffer/runtime.s b/internal/buffer/runtime.s
index f39415a..0d9d7f6 100644
--- a/internal/buffer/runtime.s
+++ b/internal/buffer/runtime.s
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-// +build amd64 arm64 ppc64 ppc64le
+// +build amd64 arm64 ppc64 ppc64le 386 arm
// Assembly code isn't subject to visibility restrictions, so we can jump
// directly into package runtime.
0001-Fix-FTBFS-on-i386-platform.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment