dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Patching

Re: Patching

From: Chad <>
Date: Wed, 28 Aug 2002 23:59:59 -0700

That worked like a charm thanks..

On Wednesday 28 August 2002 10:54 pm, you wrote:
> On Wed, 28 Aug 2002, Chad wrote:
> > Could someone please let me know if there is an easy way to insert the
> > diff file code I have made. I would like to apply my changes to new daily
> > builds without having to manually find and move things. I have read the
> > mighty FAQ but found nothing, if there is an article a link would be
> > great.
> The (GUN) 'patch' program! It used like this:
> $ cd rockbox-root
> $ patch < magic.patch
> Sometimes, the diff has path info you want to strip so that patch can find
> your file names. -p then takes off a number of "path parts" from left:
> $ patch -p0 < magic.patch
> or
> $ patch -p1 < magic.patch
> If patch can't apply some changes that are in the diff, you'll get those
> particular changes in a file named "[source-file].rej".
> And I agree, we could put up some docs on the site on how to use diff and
> patch. Might help people get to work faster!

Received on 2002-08-29

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy