libressl: fix compile for uClibc-ng linuxthreads targets, reported by Mario
[openadk.git] / package / transmission / patches / patch-libtransmission_platform-quota_c
blobdd6c097605ba45d7d1a33bdef30f971a38d01524
1 --- transmission-2.92.orig/libtransmission/platform-quota.c     2015-03-27 13:44:20.469243994 +0100
2 +++ transmission-2.92/libtransmission/platform-quota.c  2016-09-30 19:08:06.279386697 +0200
3 @@ -285,8 +285,6 @@ getquota (const char * device)
4        spaceused = (int64_t) dq.dqb_curblocks >> 1;
5  #elif defined(__APPLE__)
6        spaceused = (int64_t) dq.dqb_curbytes;
7 -#elif defined(__UCLIBC__)
8 -      spaceused = (int64_t) btodb(dq.dqb_curblocks);
9  #elif defined(__sun) || (defined(_LINUX_QUOTA_VERSION) && _LINUX_QUOTA_VERSION < 2)
10        spaceused = (int64_t) dq.dqb_curblocks >> 1;
11  #else