tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Patch name changes



On Thu, Jun 10, 2010 at 02:14:12PM +0200, Filip Hajny wrote:
> > I suggest we starting from now on, we use the name
> > patch-path_relative_to_wrksrc_filename instead, i.e. run the path of
> > the name of the file to patch through 
> >     sed -e "s,_,__,g"  -e "s,/,_,g"
> > and prefix "patch-".
> 
> Is there any reason why e.g. comma (or something else) couldn't be used in 
> place of slash in the file path, so that we could avoid problems when 
> 'part/file' becomes 'part_file' and there is already 'part_file' in the 
> ${WRKSRC}?
> 
> Otherwise, I entirely agree. I've been using this approach to break out 3rd 
> party one-lump patch files into LOCALPATCHES based patches.

If you look closely, the patch for a file called "file_name" is called
"patch-file__name".

Does that answer your concern or not?
 Thomas


Home | Main Index | Thread Index | Old Index