aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/ktorrent-devel/files
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2007-10-23 01:30:53 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2007-10-23 01:30:53 +0000
commit771626b16a957b72d6f74bdfa47de97651a78fc8 (patch)
tree35ee33a53b6a591f6c587960ef4c2ef99f872791 /net-p2p/ktorrent-devel/files
parenta562f1b3e21cccb338bad359a3adf0394a69dede (diff)
Notes
Diffstat (limited to 'net-p2p/ktorrent-devel/files')
-rw-r--r--net-p2p/ktorrent-devel/files/patch-libktorrent-util-fileops.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/ktorrent-devel/files/patch-libktorrent-util-fileops.cpp b/net-p2p/ktorrent-devel/files/patch-libktorrent-util-fileops.cpp
new file mode 100644
index 000000000000..5291e2e47e10
--- /dev/null
+++ b/net-p2p/ktorrent-devel/files/patch-libktorrent-util-fileops.cpp
@@ -0,0 +1,11 @@
+--- src/libktorrent/util/fileops.cpp.orig 2007-10-22 18:18:51.000000000 +0200
++++ src/libktorrent/util/fileops.cpp 2007-10-22 18:35:28.000000000 +0200
+@@ -425,7 +425,7 @@
+ if (statvfs(path.local8Bit(), &stfs) == 0)
+ #endif
+ {
+- bytes_free = ((Uint64)stfs.f_bavail) * ((Uint64)stfs.f_bsize);
++ bytes_free = ((Uint64)stfs.f_bavail) * ((Uint64)stfs.f_frsize);
+ return true;
+ }
+ else