Skip to content

Commit

Permalink
gentoo encfs utimens patch (vgough/encfs#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanofsky committed Sep 16, 2018
1 parent 114566f commit d4941bb
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/ansible/templates/etc/portage/patches/sys-fs/encfs/utime.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 3d060783eea3790b8d6ea9920db8a0dc6e73d184 Mon Sep 17 00:00:00 2001
From: Russell Yanofsky <[email protected]>
Date: Sun, 16 Sep 2018 15:41:11 -0400
Subject: [PATCH 1/1] Fix setting nanosecond times

utimensat function was never being called due to missing cmake define
---
config.h.cmake | 1 +
1 file changed, 1 insertion(+)

diff --git a/config.h.cmake b/config.h.cmake
index 8548d70..32ddf2b 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -6,6 +6,7 @@
#cmakedefine XATTR_LLIST

#cmakedefine HAVE_LCHMOD
+#cmakedefine HAVE_UTIMENSAT
#cmakedefine HAVE_FDATASYNC

#cmakedefine HAVE_DIRENT_D_TYPE
--
2.18.0

0 comments on commit d4941bb

Please sign in to comment.