diff options
Diffstat (limited to 'net/vsftpd/patches/patch-ah')
-rw-r--r-- | net/vsftpd/patches/patch-ah | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/vsftpd/patches/patch-ah b/net/vsftpd/patches/patch-ah new file mode 100644 index 00000000000..57a210435ef --- /dev/null +++ b/net/vsftpd/patches/patch-ah @@ -0,0 +1,22 @@ +$NetBSD: patch-ah,v 1.1 2003/05/29 20:08:42 salo Exp $ + +--- sysdeputil.c.orig 2003-03-11 00:42:48.000000000 +0100 ++++ sysdeputil.c 2003-05-29 21:46:11.000000000 +0200 +@@ -70,6 +70,17 @@ + #define VSF_SYSDEP_HAVE_SETPROCTITLE + #endif + ++#if defined(__NetBSD__) ++ #include <stdlib.h> ++ #define VSF_SYSDEP_HAVE_SETPROCTITLE ++ #include <sys/param.h> ++ #if __NetBSD_Version__ >= 106070000 ++ #define WTMPX_FILE _PATH_WTMPX ++ #else ++ #undef VSF_SYSDEP_HAVE_UTMPX ++ #endif ++#endif ++ + #ifdef __hpux + #include <sys/socket.h> + #ifdef SF_DISCONNECT |