Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: xwaydoublecode1234.rez on May 05, 2007, 04:25:46 PM

Title: Patch apply problem
Post by: xwaydoublecode1234.rez on May 05, 2007, 04:25:46 PM
i am using cygwin

i have downloaded a patch file from flyspray...(5594)

i follow all wiki instructions, but cygwin says "no such file or directory. skip this patch?"

What does this mean?

What am i doing wrong?
Title: Re: Patch apply problem
Post by: bluebrother on May 05, 2007, 04:58:57 PM
Patch files aren't "from" svn, they are against the svn sources. It looks like the patch you're trying to apply doesn't find the file it is supposed to patch -- you either patch from an odd folder or the patch wasn't created from the sources root folder.
Title: Re: Patch apply problem
Post by: digerati1338 on May 05, 2007, 10:21:25 PM
put the patch in your rockbox directory where you downloaded from SVN.  then open up cygwin and run "patch -p0 < patchname.patch"  if that doesn't work try increasing the number after p as in "patch -p1 < patchname.patch"  This is on the wiki page.
Title: Re: Patch apply problem
Post by: xwaydoublecode1234.rez on May 06, 2007, 02:42:09 AM
Thanks!

My bad, from flyspray. I was mistaken

My patch file is placed here: C:\cygwin\home\user\rockbox-daily-1

And I'll try to move it here: C:\cygwin\home\user\rockbox or

C:\cygwin\home\user\rockbox\rockbox-daily-1

Am i right?  :-\
Title: Re: Patch apply problem
Post by: xwaydoublecode1234.rez on May 06, 2007, 02:46:10 AM
Yes! It works =))

But any way, this patch is out of date =))))


Thanks!