[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] Re: Small change for epatch_user() in eutils.eclass
From:       Duncan <1i5t5.duncan () cox ! net>
Date:       2012-01-29 23:10:24
Message-ID: pan.2012.01.29.23.10.24 () cox ! net
[Download RAW message or body]

Mike Frysinger posted on Sun, 29 Jan 2012 14:16:14 -0500 as excerpted:

> On Sunday 29 January 2012 06:22:02 Ulrich Mueller wrote:
>> epatch_user() currently looks into <CATEGORY>/<PF|P|PN> subdirectories
>> of /etc/portage/patches. If the package has no revision, then PF and P
>> are identical, so there's no way to specify that a patch should only
>> apply to -r0.
>> 
>> The patch below changes ${PF} to ${P}-${PR}. Behaviour should be
>> identical for all non-zero revisions. For -r0 it will look in ${P}-r0
>> first, then in ${P} and ${PN}, as before.
> 
> looks fine.  gogogogogogogogo.

As a user with an epatch_user call in /etc/portage/bashrc, I've run into 
this problem myself a time or two, so yes, ++ here too. =:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic