pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/vsftpd Fix build on DragonFly BSD. From TimH on pk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/371bedfb6a2a
branches:  trunk
changeset: 610687:371bedfb6a2a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Nov 03 13:45:00 2012 +0000

description:
Fix build on DragonFly BSD. From TimH on pkgsrc-users.

diffstat:

 net/vsftpd/distinfo                   |   3 ++-
 net/vsftpd/patches/patch-sysdeputil.c |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 61c96eab9180 -r 371bedfb6a2a net/vsftpd/distinfo
--- a/net/vsftpd/distinfo       Sat Nov 03 12:49:34 2012 +0000
+++ b/net/vsftpd/distinfo       Sat Nov 03 13:45:00 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2011/09/09 15:13:09 wiz Exp $
+$NetBSD: distinfo,v 1.14 2012/11/03 13:45:00 wiz Exp $
 
 SHA1 (vsftpd-2.3.4.tar.gz) = b774cc6b4c50e20f4fe9ca7f6aa74169ce7fe5ea
 RMD160 (vsftpd-2.3.4.tar.gz) = 4097b495b5b03833e18b1639931939c3176e498b
@@ -9,3 +9,4 @@
 SHA1 (patch-ad) = 8b09a8fbc84f51c7334d6ab08e0a98b2e31c4fa0
 SHA1 (patch-ae) = ba770387570d202b440593d6c7cbd8d53d411a41
 SHA1 (patch-af) = 3ac549f091e6285298f9508a5fec40bd97b7d9d1
+SHA1 (patch-sysdeputil.c) = 3efe030f66c50a31f6cb5e8565920f5b0eb4e78d
diff -r 61c96eab9180 -r 371bedfb6a2a net/vsftpd/patches/patch-sysdeputil.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/vsftpd/patches/patch-sysdeputil.c     Sat Nov 03 13:45:00 2012 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-sysdeputil.c,v 1.1 2012/11/03 13:45:00 wiz Exp $
+
+Fix build on DragonFlyBSD.
+
+--- sysdeputil.c.orig  2010-03-26 03:25:33.000000000 +0000
++++ sysdeputil.c
+@@ -116,6 +116,11 @@
+   #endif
+ #endif
+ 
++#if defined(__DragonFly__)
++  #define VSF_SYSDEP_HAVE_SETPROCTITLE
++  #define WTMPX_FILE _PATH_WTMPX
++#endif
++
+ #ifdef __hpux
+   #include <sys/socket.h>
+   #ifdef SF_DISCONNECT



Home | Main Index | Thread Index | Old Index