On 3/25/07, daniel dalton <daniel.dalton47_at_gmail.com> wrote:
> So to add a patch should I do the following.
> 1 Navigate to my build dir which is in the rockbox source folder. 2 type
> ../tools/configure 3 Type 11 to select h300. 4 Type N to select normal
> build. 5 Type patch -p0 < patchfile.diff To add my patch.
>
> Then if I do this I get lots of errors.
You need to patch from the source tree's root, not from your build
dir. That should also be described on the WorkingWithPatches wiki
page.
> When I download the patch can I name it anything I want with the diff
> extension? Also should I just put the patches in my build dir which is
> in my rockbox source folder? To patch a .patch file do I just type patch
> -p0 < patchfile.patch All help is greatly appreciated.
You can put patch files anywhere you like, and you can name them with
any extension or name you like. It's a plain text file format, and
patch recognizes its file using the content of the file. It's usual
practise to use the extension diff or patch.
- Dominik
Received on 2007-03-25