diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2001-01-19 23:16:42 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2001-01-19 23:16:42 +0000 |
commit | e653f9aab6e594299e5ed6459c5afa986813ad73 (patch) | |
tree | 91fd97036b3e1f6e9b141e498b1b48070c526be8 /ftp | |
parent | e9ede6d8fba230adbbac760f9c7c76d9d44ccf64 (diff) | |
download | FreeBSD-ports-e653f9aab6e594299e5ed6459c5afa986813ad73.zip FreeBSD-ports-e653f9aab6e594299e5ed6459c5afa986813ad73.tar.gz |
Fix at minfree checking when filesystem has free space over 4GB.
Approved by: maintainer
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/spegla/Makefile | 1 | ||||
-rw-r--r-- | ftp/spegla/files/patch-spegla.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/ftp/spegla/Makefile b/ftp/spegla/Makefile index 56fde26..059edc9 100644 --- a/ftp/spegla/Makefile +++ b/ftp/spegla/Makefile @@ -8,6 +8,7 @@ PORTNAME= spegla PORTVERSION= 1.1p4 +PORTREVISION= 1 CATEGORIES= ftp MASTER_SITES= ftp://ftp.luth.se/pub/unix/mirror/ \ ftp://subzero.campus.luth.se/pub/spegla/ diff --git a/ftp/spegla/files/patch-spegla.c b/ftp/spegla/files/patch-spegla.c new file mode 100644 index 0000000..2af5159 --- /dev/null +++ b/ftp/spegla/files/patch-spegla.c @@ -0,0 +1,11 @@ +--- spegla.c.orig Sat May 27 22:38:14 2000 ++++ spegla.c Fri Jan 19 19:36:43 2001 +@@ -728,7 +728,7 @@ + #ifdef ULTRIX + if ((f.fd_req.bfreen * 1024) < minfree) + #else +- if ((f.f_bsize * f.f_bavail) < minfree) ++ if (((long long)f.f_bsize * f.f_bavail) < minfree) + #endif + e_errx(1, "%s: Not enough space left", path); + |