summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2005-11-04 12:36:16 +0000
committermartti <martti@pkgsrc.org>2005-11-04 12:36:16 +0000
commitce0aadc578bc85131849eb46ed1fa8b95fd69499 (patch)
tree7612d2a450747160c9480e52ef2a425ee56f3687 /net
parentaffbb887eb7247758c193fe4ddfbac7c0775d378 (diff)
downloadpkgsrc-ce0aadc578bc85131849eb46ed1fa8b95fd69499.tar.gz
Use the official utmpx patch. No functional change.
Diffstat (limited to 'net')
-rw-r--r--net/proftpd/distinfo4
-rw-r--r--net/proftpd/patches/patch-ac8
2 files changed, 6 insertions, 6 deletions
diff --git a/net/proftpd/distinfo b/net/proftpd/distinfo
index 59bf4c399cc..1dca26058ea 100644
--- a/net/proftpd/distinfo
+++ b/net/proftpd/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.14 2005/11/03 19:09:46 martti Exp $
+$NetBSD: distinfo,v 1.15 2005/11/04 12:36:16 martti Exp $
SHA1 (proftpd-1.3.0rc3.tar.bz2) = 558578f93865dd722367c70a4efdbc4bfe0f7c25
RMD160 (proftpd-1.3.0rc3.tar.bz2) = be8acd952662f4a0d465e1d3e62a098e67ec682e
Size (proftpd-1.3.0rc3.tar.bz2) = 1377481 bytes
SHA1 (patch-aa) = 5ebfe97a0edb8ecee7495fd5d487eff3cf32d1fe
SHA1 (patch-ab) = cda29d691e36ea590ea735ee98677e434201f74c
-SHA1 (patch-ac) = 5c05fb0c21288af6cd718f8792cc829bc348dd47
+SHA1 (patch-ac) = 5c57a3bfc6f900da32aaf949af4e4d9d020f9643
diff --git a/net/proftpd/patches/patch-ac b/net/proftpd/patches/patch-ac
index fd2a8a461a4..48375ccc35d 100644
--- a/net/proftpd/patches/patch-ac
+++ b/net/proftpd/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.2 2005/07/10 19:57:07 christos Exp $
+$NetBSD: patch-ac,v 1.3 2005/11/04 12:36:16 martti Exp $
---- src/log.c.orig 2004-08-07 18:22:42.000000000 -0400
-+++ src/log.c 2005-07-10 15:50:13.000000000 -0400
+--- src/log.c 19 Sep 2005 21:35:38 -0000 1.74
++++ src/log.c 3 Nov 2005 19:13:17 -0000
@@ -59,7 +59,8 @@
int res = 0;
static int fd = -1;
@@ -31,7 +31,7 @@ $NetBSD: patch-ac,v 1.2 2005/07/10 19:57:07 christos Exp $
utx.ut_pid = getpid();
-#ifdef __sparcv9
+#if defined(__NetBSD__) && defined(HAVE_UTMPX_H)
-+ memcpy(&utx.ut_ss, &ip->na_addr, sizeof(ip->na_addr));
++ memcpy(&utx.ut_ss, pr_netaddr_get_inaddr(ip), sizeof(utx.ut_ss));
+ gettimeofday(&utx.ut_tv, NULL);
+#else /* SVR4 */
+ utx.ut_syslen = strlen(utx.ut_host)+1;