- support disk with more than 4G blocks free

This commit is contained in:
Dirk Meyer 2015-08-01 05:32:19 +00:00
parent bb9ec6ec73
commit d8f99b2357
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393387
2 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= cnews
PORTVERSION= cr.g
PORTREVISION= 12
PORTREVISION= 13
CATEGORIES= news
MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/c-news/ \
ftp://ftp.funet.fi/pub/unix/news/cnews/ \

View File

@ -0,0 +1,11 @@
--- util/dostatfs.c.orig 1995-04-28 02:51:39.000000000 +0200
+++ util/dostatfs.c 2015-06-10 06:28:42.000000000 +0200
@@ -77,7 +77,7 @@
long bperi;
{
struct statfs info;
- register long n;
+ register long long n;
# define LOTS 10000
register long iperfile = filesize/bperi + 1;