diff options
Diffstat (limited to 'vsftpd/09-s390.patch')
-rw-r--r-- | vsftpd/09-s390.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vsftpd/09-s390.patch b/vsftpd/09-s390.patch new file mode 100644 index 0000000000..4711f9bc68 --- /dev/null +++ b/vsftpd/09-s390.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Author: Philipp Kern <pkern@debian.org> | ||
2 | Description: Fix vsftpd on s390 (Closes: #602726). | ||
3 | |||
4 | diff -Naurp vsftpd.orig/sysdeputil.c vsftpd/sysdeputil.c | ||
5 | --- vsftpd.orig/sysdeputil.c 2011-09-05 16:03:18.728857644 +0200 | ||
6 | +++ vsftpd/sysdeputil.c 2011-09-05 16:05:12.909423834 +0200 | ||
7 | @@ -64,7 +64,7 @@ | ||
8 | #include <utmpx.h> | ||
9 | |||
10 | /* BEGIN config */ | ||
11 | -#if defined(__linux__) | ||
12 | +#if defined(__linux__) && !defined(__s390__) | ||
13 | #include <errno.h> | ||
14 | #include <syscall.h> | ||
15 | #define VSF_SYSDEP_HAVE_LINUX_CLONE | ||