openbsd-ports/net/vsftpd/patches/patch-sysdeputil_c

18 lines
518 B
Plaintext
Raw Normal View History

$OpenBSD: patch-sysdeputil_c,v 1.3 2006/07/27 11:48:41 aanriot Exp $
--- sysdeputil.c.orig Mon Jul 3 00:14:10 2006
+++ sysdeputil.c Wed Jul 26 10:00:48 2006
@@ -19,6 +19,13 @@
/* For Linux, this adds nothing :-) */
#include "port/porting_junk.h"
+#if defined(__OpenBSD__)
+ #undef VSF_BUILD_PAM
+ #undef VSF_SYSDEP_HAVE_SHADOW
+ #include <stdlib.h>
+ #define VSF_SYSDEP_HAVE_SETPROCTITLE
+#endif
+
#if (defined(__FreeBSD__) && __FreeBSD__ >= 3)
#define _FILE_OFFSET_BITS 64
#define _LARGEFILE_SOURCE 1