diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-22 13:19:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-22 13:19:17 +0000 |
commit | 7990ff2ebccca9b4de23d73a66e71130afc36072 (patch) | |
tree | 265df551fa48351be4b1efcfdde5e66e062124ed /main/transmission/uclibc-quota.patch | |
parent | c10937c2643456f93e9cba291d6cf897f7c9015b (diff) | |
download | aports-7990ff2ebccca9b4de23d73a66e71130afc36072.tar.bz2 aports-7990ff2ebccca9b4de23d73a66e71130afc36072.tar.xz |
main/transmission: upgrade to 2.81
Diffstat (limited to 'main/transmission/uclibc-quota.patch')
-rw-r--r-- | main/transmission/uclibc-quota.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/transmission/uclibc-quota.patch b/main/transmission/uclibc-quota.patch new file mode 100644 index 0000000000..e7dbc25eb1 --- /dev/null +++ b/main/transmission/uclibc-quota.patch @@ -0,0 +1,11 @@ +--- ./libtransmission/platform-quota.c.orig 2013-07-22 13:15:39.734489641 +0000 ++++ ./libtransmission/platform-quota.c 2013-07-22 13:16:24.671640558 +0000 +@@ -239,8 +239,6 @@ + spaceused = (int64_t) dq.dqb_curblocks >> 1; + #elif defined(SYS_DARWIN) + spaceused = (int64_t) dq.dqb_curbytes; +-#elif defined(__UCLIBC__) +- spaceused = (int64_t) btodb(dq.dqb_curblocks); + #elif defined(__sun) || (_LINUX_QUOTA_VERSION < 2) + spaceused = (int64_t) dq.dqb_curblocks >> 1; + #else |