[alpine-devel] libgroup needs fts.h...

Isaac Dunham
Details
Message ID
<20140906045950.GA20033@newbook>
Sender timestamp
1409979591
DKIM signature
missing
Download raw message
Hello,
I wanted to test some tools that come with libcgroup, but it needed fts.h,
which musl does not provide.
The OpenBSD fts.c/fts.h worked with minimal modification 
(s/d_namlen/d_reclen/, add ALIGNBYTE / ALIGN).
I could have added these to musl, but I decided to do it the other way:
create a libfts package.

So here's an apkbuild with source for libfts.
I'm not sure whether CHOST is what I should be using, so feel free to fix it.
With this, I can build libcgroup via make LIBS=-lfts (after applying a patch that I haven't gotten in git yet).

Thanks,
Isaac Dunham