diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-02-10 08:52:19 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-02-10 08:52:19 +0800 |
commit | 72a464a72782f6ed39ac55b993711ee752bcd4bc (patch) | |
tree | 22ba8a0e4cb706e64603e128c52af215de46bd4b /devel | |
parent | 4e1ce0db06d1e3dad09b2ff2ae14d0d2c332047d (diff) | |
download | marcuscom-ports-72a464a72782f6ed39ac55b993711ee752bcd4bc.tar marcuscom-ports-72a464a72782f6ed39ac55b993711ee752bcd4bc.tar.gz marcuscom-ports-72a464a72782f6ed39ac55b993711ee752bcd4bc.tar.bz2 marcuscom-ports-72a464a72782f6ed39ac55b993711ee752bcd4bc.tar.lz marcuscom-ports-72a464a72782f6ed39ac55b993711ee752bcd4bc.tar.xz marcuscom-ports-72a464a72782f6ed39ac55b993711ee752bcd4bc.tar.zst marcuscom-ports-72a464a72782f6ed39ac55b993711ee752bcd4bc.zip |
Use the correct value for block size.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10384 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libgtop/Makefile | 4 | ||||
-rw-r--r-- | devel/libgtop/files/patch-sysdeps_freebsd_fsusage.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/devel/libgtop/Makefile b/devel/libgtop/Makefile index ea73d1cab..87abfe01c 100644 --- a/devel/libgtop/Makefile +++ b/devel/libgtop/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/devel/libgtop/Makefile,v 1.28 2008/02/09 17:51:21 marcus Exp $ +# $MCom: ports/devel/libgtop/Makefile,v 1.29 2008/02/10 00:14:15 marcus Exp $ # PORTNAME= libgtop PORTVERSION= 2.21.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/devel/libgtop/files/patch-sysdeps_freebsd_fsusage.c b/devel/libgtop/files/patch-sysdeps_freebsd_fsusage.c index 3f9a03cb2..90da05b1b 100644 --- a/devel/libgtop/files/patch-sysdeps_freebsd_fsusage.c +++ b/devel/libgtop/files/patch-sysdeps_freebsd_fsusage.c @@ -1,5 +1,5 @@ --- sysdeps/freebsd/fsusage.c.orig 2007-06-03 16:06:05.000000000 -0400 -+++ sysdeps/freebsd/fsusage.c 2008-02-09 19:10:28.000000000 -0500 ++++ sysdeps/freebsd/fsusage.c 2008-02-09 19:50:44.000000000 -0500 @@ -10,6 +10,7 @@ #include <unistd.h> #include <sys/param.h> @@ -47,7 +47,7 @@ + if (statvfs (path, &fsd) < 0) + return; + -+ buf->block_size = fsd.f_bsize; ++ buf->block_size = fsd.f_frsize; + buf->blocks = fsd.f_blocks; + buf->bfree = fsd.f_bfree; + buf->bavail = (fsd.f_bavail > fsd.f_bfree) ? 0 : fsd.f_bavail; |