[gobolinux-users] Recipe / patch question

Jonas Karlsson jonka750 at student.liu.se
Tue Nov 28 11:59:53 UTC 2006

On Mon, 27 Nov 2006 13:53:51 +0100, Hisham Muhammad <hisham.hm at gmail.com>  

> On 11/26/06, V <mkdm_2000 at yahoo.com> wrote:
>> Can we add an option to the Recipe that allows one to
>> specify the patch "level" (i.e. p0, p1, etc) or
>> override the default "-p1" ?  I think editing someone
>> else's patches to work around an assumption that
>> Compile makes is a bad idea.
> I'm sorry but no. It adds unnecessary complexity to Compile, since
> patches are shipped with the recipe, and it's not that hard to convert
> them. Perhaps a script to ease conversion of patches would be a good
> idea, however.
to convert all patches from '-p0' to '-p1' one could use sed:

sed -i -e 's/\(--- \/\)/\1foo\//g' -e 's/\(+++ \/\)/\1foo\//g' *.patch

that will add "/foo" to the beggining to every filepath of the files to  


Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

More information about the gobolinux-users mailing list