pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/rdist6 Update freerdist to 0.92nb2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/608b28fef8ad
branches:  trunk
changeset: 498575:608b28fef8ad
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Aug 26 08:42:09 2005 +0000

description:
Update freerdist to 0.92nb2
Defining STATFS_SVR4 sets the .h to use statsvfs(), which is fine, but it
probably helps if the .c file actually calls anything when STATFS_SVR4 is
defined. Fixes freespace being reported as zero in NetBSD 3.x and later.

diffstat:

 net/rdist6/Makefile         |   4 ++--
 net/rdist6/distinfo         |   3 ++-
 net/rdist6/patches/patch-af |  20 ++++++++++++++++++++
 3 files changed, 24 insertions(+), 3 deletions(-)

diffs (55 lines):

diff -r 942161b59a73 -r 608b28fef8ad net/rdist6/Makefile
--- a/net/rdist6/Makefile       Fri Aug 26 08:41:46 2005 +0000
+++ b/net/rdist6/Makefile       Fri Aug 26 08:42:09 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2003/09/06 03:36:03 kim Exp $
+# $NetBSD: Makefile,v 1.12 2005/08/26 08:42:09 abs Exp $
 #
 
 DISTNAME=      freerdist-0.92
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    net
 MASTER_SITES=  ftp://ftp.astron.com/pub/freerdist/ \
                ftp://ftp.gw.com/pub/unix/freerdist/
diff -r 942161b59a73 -r 608b28fef8ad net/rdist6/distinfo
--- a/net/rdist6/distinfo       Fri Aug 26 08:41:46 2005 +0000
+++ b/net/rdist6/distinfo       Fri Aug 26 08:42:09 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 12:14:03 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/08/26 08:42:09 abs Exp $
 
 SHA1 (freerdist-0.92.tar.gz) = 84db4efd8d223a7e10d62e386349aa9236f71ae3
 RMD160 (freerdist-0.92.tar.gz) = 2106cbf21fbe6fda2738d2e9e2d750625eb8c2da
@@ -8,6 +8,7 @@
 SHA1 (patch-ac) = 78df932333c8742139368abb5d12b910d34e222c
 SHA1 (patch-ad) = 89500d25dc2fb34c0295836f7ab18433218c85ea
 SHA1 (patch-ae) = 5db32068ad821419cd71676a933b9639fca9e37e
+SHA1 (patch-af) = c91cfab8609a6b8fe0df051ac8a2d29154ff5aad
 SHA1 (patch-ai) = 3f96e7440fe4ac5d6180a4137806fe70e2033565
 SHA1 (patch-aj) = db6307ff40a8db7428fc23f7cfd40a3152c465dc
 SHA1 (patch-ak) = a65735786a4cbe19874e83cdc8ac2d6aadb8c14e
diff -r 942161b59a73 -r 608b28fef8ad net/rdist6/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rdist6/patches/patch-af       Fri Aug 26 08:42:09 2005 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-af,v 1.3 2005/08/26 08:42:09 abs Exp $
+
+--- src/filesys.c.orig 2005-08-26 09:30:21.000000000 +0100
++++ src/filesys.c
+@@ -452,12 +452,10 @@ int getfilesysinfo(file, freespace, free
+        */
+ #if   STATFS_TYPE == STATFS_SYSV
+       r = statfs(mntpt, &statfsbuf, sizeof(statfs_t), 0);
+-#endif
+-#if   STATFS_TYPE == STATFS_BSD || STATFS_TYPE == STATFS_44BSD
+-      r = statfs(mntpt, &statfsbuf);
+-#endif
+-#if   STATFS_TYPE == STATFS_OSF1
++#elif STATFS_TYPE == STATFS_OSF1
+       r = statfs(mntpt, &statfsbuf, sizeof(statfs_t));
++#else
++      r = statfs(mntpt, &statfsbuf);
+ #endif
+ 
+       if (r < 0) {



Home | Main Index | Thread Index | Old Index