diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-02-24 17:50:04 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-02-24 18:02:41 +0000 |
commit | 8539ca7961a6022b70a21a2522d3ae63bc671a1c (patch) | |
tree | 6f34de2cb1580c69c97d58ab9e24ddde7f0f4f74 /net-ftp/vsftpd | |
parent | toolchain.eclass: enable verbose test logging (diff) | |
download | gentoo-8539ca7961a6022b70a21a2522d3ae63bc671a1c.tar.gz gentoo-8539ca7961a6022b70a21a2522d3ae63bc671a1c.tar.bz2 gentoo-8539ca7961a6022b70a21a2522d3ae63bc671a1c.zip |
net-ftp/vsftpd: restore still used patch, bug #678680
Closes: https://bugs.gentoo.org/678680
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'net-ftp/vsftpd')
-rw-r--r-- | net-ftp/vsftpd/files/vsftpd-3.0.2-alpha.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-ftp/vsftpd/files/vsftpd-3.0.2-alpha.patch b/net-ftp/vsftpd/files/vsftpd-3.0.2-alpha.patch new file mode 100644 index 000000000000..2445bb54467c --- /dev/null +++ b/net-ftp/vsftpd/files/vsftpd-3.0.2-alpha.patch @@ -0,0 +1,16 @@ +Author: Michael Cree <mcree@orcon.net.nz> +Description: Fixing FTBFS on alpha (Closes: #656182). + +diff -Naurp vsftpd.orig/sysdeputil.c vsftpd/sysdeputil.c +--- vsftpd.orig/sysdeputil.c 2010-03-26 04:25:33.000000000 +0100 ++++ vsftpd/sysdeputil.c 2012-01-21 10:53:37.353802546 +0100 +@@ -81,6 +81,9 @@ + #include <linux/unistd.h> + #include <errno.h> + #include <syscall.h> ++ #if defined(__alpha__) ++ #define __NR_getpid __NR_getxpid ++ #endif + #endif + + #if defined(__linux__) && !defined(__ia64__) && !defined(__s390__) |