Slimlock fails to include the unistd.h headers, which results in a failed build with gcc 4.7. Reproducible: Always 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. Actual Results: Failed build, see attached build.log. Expected Results: successful build. 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] build.log
Created attachment 318332 [details] emerge --info =x11-misc/slimlock-0.11
Created attachment 318334 [details] slimlock-0.11-gcc47.patch
Created attachment 318338 [details] patch for the ebuild
*slimlock-0.11-r1 (18 Aug 2012) 18 Aug 2012; Aaron W. Swenson <titanofold@gentoo.org> +slimlock-0.11-r1.ebuild, +files/slimlock-0.11-gcc47.patch: Add "X" USE flag dependency on imlib2. (Bug 427164) Add patch to fix building with GCC 4.7. (Bug 426866)