From 111d4e3be9c8cc1a1f2fee5e7381f52dd15fa613 Mon Sep 17 00:00:00 2001 From: dinoex Date: Sat, 1 Aug 2015 05:32:19 +0000 Subject: - support disk with more than 4G blocks free --- news/cnews/Makefile | 2 +- news/cnews/files/patch-dostatfs.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 news/cnews/files/patch-dostatfs.c (limited to 'news/cnews') diff --git a/news/cnews/Makefile b/news/cnews/Makefile index 930cb5ce0849..266d72c16835 100644 --- a/news/cnews/Makefile +++ b/news/cnews/Makefile @@ -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/ \ diff --git a/news/cnews/files/patch-dostatfs.c b/news/cnews/files/patch-dostatfs.c new file mode 100644 index 000000000000..47ffd8f27c09 --- /dev/null +++ b/news/cnews/files/patch-dostatfs.c @@ -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; + -- cgit