Slimlock fails to include the unistd.h headers, which results in a failed build with gcc 4.7.
Steps to Reproduce:
1. emerge gcc:4.7, possibly requiring a bit of unmasking and keywording.
2. use gcc-config to select the newly emerged compiler.
3. emerge slimlock.
Failed build, see attached build.log.
A patch solving the build issue is attached. I have quickly tested all functionality indicated by `slimlock -h`, and it seems correct.
Created attachment 318330 [details]
Created attachment 318332 [details]
emerge --info =x11-misc/slimlock-0.11
Created attachment 318334 [details]
Created attachment 318338 [details]
patch for the ebuild
*slimlock-0.11-r1 (18 Aug 2012)
18 Aug 2012; Aaron W. Swenson <firstname.lastname@example.org>
Add "X" USE flag dependency on imlib2. (Bug 427164) Add patch to fix building
with GCC 4.7. (Bug 426866)