summaryrefslogtreecommitdiff
path: root/docs/FAQ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/FAQ')
-rw-r--r--docs/FAQ18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/FAQ b/docs/FAQ
index 9007e7f509..f8f9bd8d0f 100644
--- a/docs/FAQ
+++ b/docs/FAQ
@@ -473,3 +473,21 @@ Q56: I keep shutting off my player in my pocket. Can the OFF (Recorder) or
473A56: No. Unfortunately, the ON/OFF mechanisms are handled entirely in 473A56: No. Unfortunately, the ON/OFF mechanisms are handled entirely in
474 hardware. The firmware can read the keys, but can't prevent them from 474 hardware. The firmware can read the keys, but can't prevent them from
475 shutting off the player. 475 shutting off the player.
476
477Q57: Could you tell me how to apply a patch?
478A57: There are a ton of ways to apply a patch. One way is to use the (GNU)
479 'patch' program. It used like this:
480
481 $ cd rockbox-root
482 $ patch < magic.patch
483
484 Sometimes, the diff has path info you want to strip so that patch can
485 find your file names. -p then takes off a number of "path parts" from
486 left:
487
488 $ patch -p0 < magic.patch
489 - or -
490 $ patch -p1 < magic.patch
491
492 If patch can't apply some changes that are in the diff, you'll get those
493 particular changes in a file named "[source-file].rej".