aboutsummaryrefslogtreecommitdiffstats
path: root/main/transmission/uclibc-quota.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-22 13:19:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-22 13:19:17 +0000
commit7990ff2ebccca9b4de23d73a66e71130afc36072 (patch)
tree265df551fa48351be4b1efcfdde5e66e062124ed /main/transmission/uclibc-quota.patch
parentc10937c2643456f93e9cba291d6cf897f7c9015b (diff)
downloadaports-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.patch11
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