1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/filesystems/gocryptfs/fix-unix2syscall_darwin.go-build-failure.patch
cw dccd1e9d05 gocryptfs: 1.6.1 -> 1.7
- Use pname instead of name
- Add patch for Darwin build
2019-07-16 08:17:17 +02:00

15 lines
505 B
Diff

--- a/internal/syscallcompat/unix2syscall_darwin.go
+++ b/internal/syscallcompat/unix2syscall_darwin.go
@@ -19,8 +19,8 @@ func Unix2syscall(u unix.Stat_t) syscall.Stat_t {
Size: u.Size,
Blksize: u.Blksize,
Blocks: u.Blocks,
- Atimespec: syscall.Timespec(u.Atimespec),
- Mtimespec: syscall.Timespec(u.Mtimespec),
- Ctimespec: syscall.Timespec(u.Ctimespec),
+ Atimespec: syscall.Timespec(u.Atim),
+ Mtimespec: syscall.Timespec(u.Mtim),
+ Ctimespec: syscall.Timespec(u.Ctim),
}
}