when USE=ipv6 the cd to "${S}-noipv6" means that user DJBDNS_PATCH_DIR are never applied (unless they are to dnstrace patches). Also use=fwdonly was dropped so I assume the patch isn't needed.
Created attachment 107870 [details, diff] djbdns-1.05-r20.ebuild.patch
Fixed in CVS, thanks.
nice improvement to account for both - thanks
(In reply to comment #3) > nice improvement to account for both - thanks > Nice improvement until you try to use it (sorry I should of tested it first). I found the ipv6 patch hacks about every definition of a function, and lots of argument passing. The downside is its pretty impossible to generate a patch that works on the ipv6 source and the unpatched ipv4 source. Recommend not patching the ${S}-noipv6 with the same patches as ${S} as it causes more problems that the one (dnstrace patching) that it solves.
(In reply to comment #4) > Nice improvement until you try to use it (sorry I should of tested it first). Yes, so should I have. :-) Fixed now as you suggested.