Bug 163398 - djbdns-1.05-r20 with USE=ipv6 fails to use DJBDNS_PATCH_DIR patches
Bug#: 163398 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: hansmi@gentoo.org Reported By: dragonheart@gentoo.org
Component: Ebuilds
URL: 
Summary: djbdns-1.05-r20 with USE=ipv6 fails to use DJBDNS_PATCH_DIR patches
Keywords:  
Status Whiteboard: 
Opened: 2007-01-23 06:09 0000
Description:   Opened: 2007-01-23 06:09 0000
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.

------- Comment #1 From Daniel Black 2007-01-23 06:09:52 0000 -------
Created an attachment (id=107870) [details]
djbdns-1.05-r20.ebuild.patch

------- Comment #2 From Michael Hanselmann (hansmi) (RETIRED) 2007-01-23 18:00:04 0000 -------
Fixed in CVS, thanks.

------- Comment #3 From Daniel Black 2007-01-23 20:06:21 0000 -------
nice improvement to account for both - thanks

------- Comment #4 From Daniel Black 2007-01-24 21:20:40 0000 -------
(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.

------- Comment #5 From Michael Hanselmann (hansmi) (RETIRED) 2007-01-28 22:00:37 0000 -------
(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.