You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-ftp/vsftpd/files/vsftpd-3.0.2-alpha.patch

17 lines
525 B

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__)