A user in unsupported software forums reported net-misc/nx-x11-1.4.0-r4 does not compile with gcc-4.0.2. I have also been able to reproduce the bug with gcc-4.1.0_beta20051112 and baked a patch just for being done (I don't use nx-x11 myself) Reproducible: Always Steps to Reproduce: 1.emerge nx-x11 with (gcc >= 4.0.2 ?) Actual Results: Compilation stops as in linked post on the forums Expected Results: nx-x11 compiles and installs
Created attachment 73261 [details, diff] nx-x11-1.4.0-gcc4.patch
Comment on attachment 73261 [details, diff] nx-x11-1.4.0-gcc4.patch In the ebuild, apply with cd ${WORKDIR} epatch ${FILESDIR}/nx-x11-1.4.0-gcc4.patch directly before cd ${S} in src_unpack()
Created attachment 74034 [details, diff] gcc-4.0 patch This patch is a lot more simple and accomplishes the same thing.
Patch added, thanks.