aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ecryptfs-utils/fix-headers.patch
diff options
context:
space:
mode:
authork0r10n <k0r10n.dev@gmail.com>2014-12-11 08:59:31 +0400
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-16 14:03:35 +0000
commitf824d35aefdfdd9b7640ce0178c16d66a26d4c9f (patch)
tree8ee3278681ce3e2372d8f4832016ed9c96c9a6df /testing/ecryptfs-utils/fix-headers.patch
parent595a52be16abd6d17ac654b3d01fb561730dff27 (diff)
downloadaports-f824d35aefdfdd9b7640ce0178c16d66a26d4c9f.tar.bz2
aports-f824d35aefdfdd9b7640ce0178c16d66a26d4c9f.tar.xz
testing/ecryptfs-utils: New aport
Diffstat (limited to 'testing/ecryptfs-utils/fix-headers.patch')
-rw-r--r--testing/ecryptfs-utils/fix-headers.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/ecryptfs-utils/fix-headers.patch b/testing/ecryptfs-utils/fix-headers.patch
new file mode 100644
index 0000000000..eb2ca3ec44
--- /dev/null
+++ b/testing/ecryptfs-utils/fix-headers.patch
@@ -0,0 +1,28 @@
+--- a/src/utils/mount.ecryptfs.c.orig
++++ b/src/utils/mount.ecryptfs.c
+@@ -24,7 +24,6 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <getopt.h>
+-#include <keyutils.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -34,6 +33,7 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
++#include <keyutils.h>
+ #include "ecryptfs.h"
+ #include "decision_graph.h"
+ #include "io.h"
+--- a/src/utils/mount.ecryptfs_private.c.orig
++++ b/src/utils/mount.ecryptfs_private.c
+@@ -30,6 +30,7 @@
+ #include <sys/param.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <fcntl.h>
+ #include <ctype.h>
+ #include <errno.h>
+ #include <keyutils.h>