From a2a9a8e8f7050c5bc449987ced0453bc416d6a79 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sun, 20 May 2012 19:39:18 +0000 Subject: main/vsftpd: build fix for x86_64 --- main/vsftpd/vsftpd-gnu-source.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 main/vsftpd/vsftpd-gnu-source.patch (limited to 'main/vsftpd/vsftpd-gnu-source.patch') 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" -- cgit v1.2.3