From 72a464a72782f6ed39ac55b993711ee752bcd4bc Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 10 Feb 2008 00:52:19 +0000 Subject: Use the correct value for block size. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10384 df743ca5-7f9a-e211-a948-0013205c9059 --- devel/libgtop/Makefile | 4 ++-- 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 # # $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 #include @@ -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; -- cgit v1.2.3