Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/vsftpd/files/
Date: Sun, 24 Feb 2019 18:02:55
Message-Id: 1551031361.8539ca7961a6022b70a21a2522d3ae63bc671a1c.slyfox@gentoo
1 commit: 8539ca7961a6022b70a21a2522d3ae63bc671a1c
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 24 17:50:04 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 24 18:02:41 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8539ca79
7
8 net-ftp/vsftpd: restore still used patch, bug #678680
9
10 Closes: https://bugs.gentoo.org/678680
11 Package-Manager: Portage-2.3.62, Repoman-2.3.12
12 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
13
14 net-ftp/vsftpd/files/vsftpd-3.0.2-alpha.patch | 16 ++++++++++++++++
15 1 file changed, 16 insertions(+)
16
17 diff --git a/net-ftp/vsftpd/files/vsftpd-3.0.2-alpha.patch b/net-ftp/vsftpd/files/vsftpd-3.0.2-alpha.patch
18 new file mode 100644
19 index 00000000000..2445bb54467
20 --- /dev/null
21 +++ b/net-ftp/vsftpd/files/vsftpd-3.0.2-alpha.patch
22 @@ -0,0 +1,16 @@
23 +Author: Michael Cree <mcree@×××××××××.nz>
24 +Description: Fixing FTBFS on alpha (Closes: #656182).
25 +
26 +diff -Naurp vsftpd.orig/sysdeputil.c vsftpd/sysdeputil.c
27 +--- vsftpd.orig/sysdeputil.c 2010-03-26 04:25:33.000000000 +0100
28 ++++ vsftpd/sysdeputil.c 2012-01-21 10:53:37.353802546 +0100
29 +@@ -81,6 +81,9 @@
30 + #include <linux/unistd.h>
31 + #include <errno.h>
32 + #include <syscall.h>
33 ++ #if defined(__alpha__)
34 ++ #define __NR_getpid __NR_getxpid
35 ++ #endif
36 + #endif
37 +
38 + #if defined(__linux__) && !defined(__ia64__) && !defined(__s390__)