Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Fix build on arm64
· 8409a22e
Ximin Luo
authored
Nov 13, 2015
8409a22e
Release 0.1.1-4 to Debian experimental.
· d6c021a4
Ximin Luo
authored
Nov 13, 2015
d6c021a4
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
d6c021a4
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.
...
...
debian/patches/fix-build-on-arm64.patch
0 → 100644
View file @
d6c021a4
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)
debian/patches/series
View file @
d6c021a4
disable-runtime-test.patch
fix-nogtk-gui.patch
fix-build-on-arm64.patch