summaryrefslogtreecommitdiff
blob: 2445bb54467c95453ad52f4bd0667f05cd832b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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__)