Skip to content
Commits on Source (2)
pond (0.1.1-4) experimental; urgency=medium
* Fix build on arm64.
-- Ximin Luo <infinity0@debian.org> Fri, 13 Nov 2015 03:06:44 +0100
pond (0.1.1-3) experimental; urgency=medium
* Disable buildtime tests that test runtime behaviour.
......
Description: Fix build on arm64
As per `man dup3`, this is the same as dup2 with empty flags (last argument)
and if the two fd arguments are not equal, as is the case here in the fix.
Author: Ximin Luo <infinity0@debian.org>
Bug: https://github.com/agl/pond/issues/208
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/client/disk/disk.go
+++ b/client/disk/disk.go
@@ -419,7 +419,7 @@
if sf.lockFd != nil {
// Duplicate the new file descriptor over the old one.
// This will unlock the old inode.
- if err := syscall.Dup2(newFd, *sf.lockFd); err != nil {
+ if err := syscall.Dup3(newFd, *sf.lockFd, 0); err != nil {
panic(err)
}
syscall.Close(newFd)
disable-runtime-test.patch
fix-nogtk-gui.patch
fix-build-on-arm64.patch