net-dns/totd has -Werror in its Makefile.in. Since gcc (4.1.2) issues a couple of warnings during compilation, emerging the package fails. Reproducible: Always Steps to Reproduce: 1. emerge totd 2. 3. Actual Results: cc1: warnings being treated as errors request.c: In function 'request_start': request.c:73: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness request.c:148: warning: pointer targets in passing argument 2 of 'sprint_inet' differ in signedness request.c: In function 'do_forward': ... request.c: In function 'collect_ns_socks': request.c:814: warning: pointer targets in assignment differ in signedness make: *** [request.o] Error 1 make: *** Waiting for unfinished jobs.... * * ERROR: net-dns/totd-1.5.1 failed. * Call stack: * ebuild.sh, line 1642: Called dyn_compile * ebuild.sh, line 988: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * totd-1.5.1.ebuild, line 26: Called die Expected Results: Compilation finishes, showing a couple of warnings in the process.
Created attachment 123482 [details, diff] Patch for net-dns/totd-1.5.1
Created attachment 123484 [details] Fixed ebuild This ebuild applies the proposed patch.
Fixed, thanks!