Rockbox Development > Starting Development and Compiling
how to apply patch
bluebrother:
I can't write "exactly" what to do as I don't know your file system structure. What subfolders do you have inside of the folder you're in? I guess cvs generated a "rockbox" or "rockbox-dev" subfolder to which you need to change before. Or: before running patch make sure your actual folder contains the subfolders "apps", "firmware", "tools" (and most probably some more).
Also, why don't you try the vmware image? It comes with a preconfigured environment and there are quite some people around who use it and most probably can make a lot more assumptions than in this case.
kl3618:
Hello, I have a problem with installing one of the patches..
This is what the top of my patch says:
Index: tools/convbdf.c
===================================================================
--- tools/convbdf.c (Revision 16053)
+++ tools/convbdf.c (Arbeitskopie)
@@ -969,6 +969,7 @@
" %d, /* ascent */\n"
" %d, /* firstchar */\n"
" %d, /* size */\n"
+ " 0, /* depth */\n"
" _font_bits, /* bits */\n"
" %s /* offset */\n"
" %s\n"
Index: tools/buildzip.pl
===================================================================
ok and this is how far I am at...
I open cygwin
$ cd g:\.rockbox
then it show
kevin@kevin-####(numbers) cygdrive/g/.rockbox
then when I type in patch < mypatch.diff it gives me an error saying "Batch: Patch: file directory not found." or something similar to that. Do you know what I did wrong? is it because I placed the mypatch.diff file in the wrong place? if so where do I place it? if not can you please help me resolve this problem.
Thank You.
saratoga:
--- Quote from: kl3618 on February 05, 2008, 11:59:47 PM ---Hello, I have a problem with installing one of the patches..
--- End quote ---
Great, but it is not OK to copy and paste messages from the forums and PM them to me.
--- Quote from: kl3618 on February 05, 2008, 11:59:47 PM ---then when I type in patch < mypatch.diff it gives me an error saying "Batch: Patch: file directory not found." or something similar to that. Do you know what I did wrong? is it because I placed the mypatch.diff file in the wrong place? if so where do I place it? if not can you please help me resolve this problem.
--- End quote ---
Post the actual error message if you want a good answer.
But I'm going to guess you don't have patch installed in cygwin.
cool_walking_:
--- Quote from: saratoga on February 06, 2008, 12:07:56 AM ---Great, but it is not OK to copy and paste messages from the forums and PM them to me.
--- End quote ---
Hahahahaa awesome.
--- Quote from: kl3618 on February 05, 2008, 11:59:47 PM ---$ cd g:\.rockbox
--- End quote ---
You're doing it wrong. You patch against the source code, not against a compiled build. Read http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling
kl3618:
I'm sorry about that. but how do I have a patch installed in cygwin.
I read the the stuff on the compiling website and the patching website.. but I still don't understand. = = can you guide me or give me an example?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version