Rockbox Development > Starting Development and Compiling

Patch help

(1/4) > >>

deadacres:
I'm trying to patch rockbox using cygwin on windows xp. I'm using a 5G iPod. I've read simpleguidetocompiling, but when I try to patch it it says

missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or strip option?

Then it says some other stuff.  I did -p0, -p1, -p2, all the way to -p5 and it still says the same thing. I've tried all three patches that I want to use and it says the same thing with a different line number for each one. My patches are in F:\.rockbox

please help, thanks.

Rincewind:
are you sure you are running the patch command in your source root?

you have to run the patch command in the directory where you checked out / extracted the rockbox source. I usually place my patches there, too.

Looks like this:

x:\rockbox>patch < the_file.patch

deadacres:

--- Quote from: Rincewind on March 11, 2007, 02:51:18 PM ---are you sure you are running the patch command in your source root?

you have to run the patch command in the directory where you checked out / extracted the rockbox source. I usually place my patches there, too.

Looks like this:

x:\rockbox>patch < the_file.patch

--- End quote ---

I didn't understand that at all, haha. How do I run the patch command?

nls:
First, do you have the rockbox source? It is either checked out using svn or downloaded as an archive from the current build page, you need this to patch, you saying that your patches are in .rockbox directory makes me think that you are trying to patch a build of rockbox, that will not work as you need to patch the source and then compile.

deadacres:

--- Quote from: nls on March 11, 2007, 05:23:54 PM ---First, do you have the rockbox source? It is either checked out using svn or downloaded as an archive from the current build page, you need this to patch, you saying that your patches are in .rockbox directory makes me think that you are trying to patch a build of rockbox, that will not work as you need to patch the source and then compile.

--- End quote ---

Oh alright, I get it. Thanks. I'll try it out.

Navigation

[0] Message Index

[#] Next page

Go to full version