summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/unionfs-fuse/files/unionfs-fuse-0.26-declare-chroot.patch')
-rw-r--r--sys-fs/unionfs-fuse/files/unionfs-fuse-0.26-declare-chroot.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-fs/unionfs-fuse/files/unionfs-fuse-0.26-declare-chroot.patch b/sys-fs/unionfs-fuse/files/unionfs-fuse-0.26-declare-chroot.patch
new file mode 100644
index 000000000000..e436f9f01575
--- /dev/null
+++ b/sys-fs/unionfs-fuse/files/unionfs-fuse-0.26-declare-chroot.patch
@@ -0,0 +1,12 @@
+--- unionfs-fuse-0.26/src/unionfs.c 2012-09-22 22:24:05.090568485 +0200
++++ unionfs-fuse-0.26/src/unionfs.c 2012-09-22 22:24:09.036519156 +0200
+@@ -13,6 +13,9 @@
+ #ifdef linux
+ // For pread()/pwrite()/utimensat()
+ #define _XOPEN_SOURCE 700
++
++ // For chroot
++ #define _BSD_SOURCE
+ #endif
+
+ #include <fuse.h>