Annotation of ports/net/mirall/patches/patch-src_mirall_utility_cpp, Revision 1.1.1.1
1.1 kirby 1: $OpenBSD$
2: --- src/mirall/utility.cpp.orig Mon Apr 21 22:19:39 2014
3: +++ src/mirall/utility.cpp Mon Apr 21 22:20:38 2014
4: @@ -321,8 +321,8 @@ qint64 Utility::freeDiskSpace(const QString &path, boo
5: return (qint64) stat.f_bavail * stat.f_frsize;
6: #elif defined(Q_OS_UNIX)
7: Q_UNUSED(ok)
8: - struct statvfs64 stat;
9: - statvfs64(path.toUtf8().data(), &stat);
10: + struct statvfs stat;
11: + statvfs(path.toUtf8().data(), &stat);
12: return (qint64) stat.f_bavail * stat.f_frsize;
13: #elif defined(Q_OS_WIN)
14: ULARGE_INTEGER freeBytes;
CVSweb