[Buildroot] [PATCH] transmission: fix compile error

Waldemar Brodkorb wbx at openadk.org
Sat Oct 1 07:20:25 UTC 2016


Hi Arnout,
Arnout Vandecappelle wrote,

> > +--- a/libtransmission/platform-quota.c
> > ++++ b/libtransmission/platform-quota.c
> > +@@ -284,7 +284,7 @@ getquota (const char * device)
> > +       spaceused = (int64_t) dq.dqb_curblocks >> 1;
> > + #elif defined(__APPLE__)
> > +       spaceused = (int64_t) dq.dqb_curbytes;
> > +-#elif defined(__UCLIBC__)
> > ++#elif defined(__UCLIBC__) && (__UCLIBC_MAJOR__ == 0 || (__UCLIBC_MAJOR__ == 1 && __UCLIBC_SUBLEVEL__ <= 17))
> 
>  Shouldn't this also include __UCLIBC_MINOR__ == 0, so the condition doesn't
> trigger when uClibc-ng 1.1.0 is released?

Do you know of any hidden roadmap I am not aware of? ;)

best regards
   Waldemar


More information about the buildroot mailing list