diff options
-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 | |||
473 | A56: No. Unfortunately, the ON/OFF mechanisms are handled entirely in | 473 | A56: 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 | |||
477 | Q57: Could you tell me how to apply a patch? | ||
478 | A57: 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". | ||