openbsd-ports/net/vsftpd/patches/patch-sysdeputil_c
2012-10-05 02:27:50 +00:00

28 lines
550 B
Plaintext

$OpenBSD: patch-sysdeputil_c,v 1.4 2012/10/05 02:27:50 brad Exp $
--- sysdeputil.c.orig Sun Sep 16 00:18:04 2012
+++ sysdeputil.c Wed Oct 3 05:41:21 2012
@@ -25,6 +25,10 @@
#define _LARGEFILE64_SOURCE 1
#endif
+#if defined(__OpenBSD__)
+ #undef VSF_BUILD_PAM
+#endif
+
/* For INT_MAX */
#include <limits.h>
@@ -114,6 +118,12 @@
#else
#undef VSF_SYSDEP_HAVE_UTMPX
#endif
+#endif
+
+#if defined(__OpenBSD__)
+ #include <stdlib.h>
+ #undef VSF_SYSDEP_HAVE_SHADOW
+ #define VSF_SYSDEP_HAVE_SETPROCTITLE
#endif
#ifdef __hpux