diff options
| author | Robert Hak <adiamas@rockbox.org> | 2002-10-12 08:34:57 +0000 |
|---|---|---|
| committer | Robert Hak <adiamas@rockbox.org> | 2002-10-12 08:34:57 +0000 |
| commit | 57bf2ca47599058eb39e7d151bfb574fd31f883f (patch) | |
| tree | 7c3447b79d9a43117638820c596c40c6993e07d3 /docs/FAQ | |
| parent | 8a2bd30baaeed9cf938611d30f83c5e67a115e4e (diff) | |
| download | rockbox-57bf2ca47599058eb39e7d151bfb574fd31f883f.zip rockbox-57bf2ca47599058eb39e7d151bfb574fd31f883f.tar.gz rockbox-57bf2ca47599058eb39e7d151bfb574fd31f883f.tar.bz2 rockbox-57bf2ca47599058eb39e7d151bfb574fd31f883f.tar.xz | |
how do i apply a patch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2598 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'docs/FAQ')
| -rw-r--r-- | docs/FAQ | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -473,3 +473,21 @@ Q56: I keep shutting off my player in my pocket. Can the OFF (Recorder) or A56: No. Unfortunately, the ON/OFF mechanisms are handled entirely in hardware. The firmware can read the keys, but can't prevent them from shutting off the player. + +Q57: Could you tell me how to apply a patch? +A57: There are a ton of ways to apply a patch. One way is to use the (GNU) + '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". |