xscreensaver fails while building, due to what appears to be a typo in driver/passwd-kerberos.c; 'newtktfile' is referenced instead of 'newtkfile' several times. Reproducible: Always Steps to Reproduce: 1. USE="kerberos" emerge =x11-misc/xscreensaver-4.15
Created attachment 26569 [details, diff] xscreensaver patch Replaces occurances of newtktfile with newtkfile; note that while this is most probably what was intended, I am not wholly certain of it, as kerberos is a testy and obscure beast.
How do I apply the patch? find / -iname 'passwd-kerberos.c' didn't find anything on my system... and I believe it all gets unpacked on next emerge of it.
*** Bug 43293 has been marked as a duplicate of this bug. ***
I downloaded the patch file xscreensaver-4.1.5-tkfile.patch and placed it in the /usr/portage/x11-misc/xscreensaver/files directory. I then modified line 78 of the xscreensaver-4.15.ebuild file which was blank and added the following: EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-4.15-tkfile.patch After doing that, I was able to emerge xscreensaver without a problem.
*** Bug 43445 has been marked as a duplicate of this bug. ***
*** Bug 43731 has been marked as a duplicate of this bug. ***
The patch works successfully for me. One note: I know this is dumb, but make sure you have the patch file named the same as the addition to the ebuild. Saving the attachment by default is xscreensaver-4.15-tktfile.patch, whereas comment #4 uses "tkfile" (missing the 't'). Took my addled brain a while to see it.
Worked for me too. Thx a lot for patch and explanations. Regards, Philippe
Working here as well, is there any reason this patch has not made it into the portage ebuild yet?
Well, considering 4.16 is out now (Bug # 50936) it does not matter too much that 4.15 missed portage.
close? I think I have xscreensaver working now... but it's 4.15
fixed in 4.16, in portage now. sorry for the huge delay.