aboutsummaryrefslogtreecommitdiffstats
path: root/main/vsftpd/vsftpd-gnu-source.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-20 19:39:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-20 19:39:18 +0000
commita2a9a8e8f7050c5bc449987ced0453bc416d6a79 (patch)
tree81d4a1d1d3516646248c5e9b62a02f89f30bdadd /main/vsftpd/vsftpd-gnu-source.patch
parent05f2984940d9e43e5b9baf0dfcc2e0c853a25b69 (diff)
downloadaports-a2a9a8e8f7050c5bc449987ced0453bc416d6a79.tar.bz2
aports-a2a9a8e8f7050c5bc449987ced0453bc416d6a79.tar.xz
main/vsftpd: build fix for x86_64
Diffstat (limited to 'main/vsftpd/vsftpd-gnu-source.patch')
-rw-r--r--main/vsftpd/vsftpd-gnu-source.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/vsftpd/vsftpd-gnu-source.patch b/main/vsftpd/vsftpd-gnu-source.patch
new file mode 100644
index 0000000000..a7f09d3912
--- /dev/null
+++ b/main/vsftpd/vsftpd-gnu-source.patch
@@ -0,0 +1,12 @@
+--- ./seccompsandbox.c.orig
++++ ./seccompsandbox.c
+@@ -12,6 +12,9 @@
+
+ #if defined(__linux__) && defined(__x86_64__)
+
++/* for O_DIRECTORY */
++#define _GNU_SOURCE
++
+ #include "session.h"
+ #include "sysutil.h"
+ #include "tunables.h"