xfree-4.3.0-r3 error in 2000_all_4.3.0-ipv6-server.patch patched file: xc/lib/SM/sm_genid.c error: when ipv6 is enabled when building xfree, the function SmsGenerateClientID misinterpretes the return value of getaddrinfo, resulting in generating no ID. This leads to the "...is severely misconfigured" warning message from ksmserver when starting kde line 140: if (getaddrinfo(hostname,NULL,NULL,&ai) != 0) { should be if (getaddrinfo(hostname,NULL,NULL,&ai) == 0) { Reproducible: Always Steps to Reproduce: 1. emerge xfree-4.3.0-r3 with USE="ipv6" 2. start kde with startx 3. I have only tested the SmsGenerateClientID sm_genid.c alone and with the correction it now generates an ID, but I didn't do a complete re-emerge of xfree with the patched line.
*** Bug 24446 has been marked as a duplicate of this bug. ***
Created attachment 21392 [details, diff] fixed patch I just checked the 4.3.99 code and this change is the case in the no patched code, it looks like the 4.3.0 patch was back ported at a stage when a bug existed in the 4.3.99 code. Attached updated patch, that has the problem solved, barring no release problems this fix should go into 4.3.0-r4's patchset.
Added the patch in comment #2 to 4.3.0-r3. Please test and reopen if this is not fixed.