summaryrefslogtreecommitdiff
path: root/user/encfs/utimensat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/encfs/utimensat.patch')
-rw-r--r--user/encfs/utimensat.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/user/encfs/utimensat.patch b/user/encfs/utimensat.patch
new file mode 100644
index 000000000..93c5378e1
--- /dev/null
+++ b/user/encfs/utimensat.patch
@@ -0,0 +1,22 @@
+From 3d060783eea3790b8d6ea9920db8a0dc6e73d184 Mon Sep 17 00:00:00 2001
+From: Russell Yanofsky <russ@yanofsky.org>
+Date: Sun, 16 Sep 2018 15:41:11 -0400
+Subject: [PATCH] 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 8548d706..32ddf2bb 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