diff options
author | abs <abs@pkgsrc.org> | 2005-08-26 08:42:09 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2005-08-26 08:42:09 +0000 |
commit | 40ea5187a9db372f5d9f7a5d9a1f9986a69f8b88 (patch) | |
tree | 4868f42ce0189573fc0bbfb615c5c9166f12c184 /net | |
parent | 7bc330a49e3fbdc4ebbc57551a3c3c64c5300519 (diff) | |
download | pkgsrc-40ea5187a9db372f5d9f7a5d9a1f9986a69f8b88.tar.gz |
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 (limited to 'net')
-rw-r--r-- | net/rdist6/Makefile | 4 | ||||
-rw-r--r-- | net/rdist6/distinfo | 3 | ||||
-rw-r--r-- | net/rdist6/patches/patch-af | 20 |
3 files changed, 24 insertions, 3 deletions
diff --git a/net/rdist6/Makefile b/net/rdist6/Makefile index 88dcebe33b2..b948b8d5470 100644 --- a/net/rdist6/Makefile +++ b/net/rdist6/Makefile @@ -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 --git a/net/rdist6/distinfo b/net/rdist6/distinfo index 43d422b034f..7728b8170e6 100644 --- a/net/rdist6/distinfo +++ b/net/rdist6/distinfo @@ -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-ab) = 3cd2de9d584e8aaa0cf4258c66ba027ff767a367 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 --git a/net/rdist6/patches/patch-af b/net/rdist6/patches/patch-af new file mode 100644 index 00000000000..b2d76ee1cae --- /dev/null +++ b/net/rdist6/patches/patch-af @@ -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) { |