ApplyAPatch

From RTEMSWiki

Jump to: navigation, search

Patches generated with the diff program are fed into the patch program as follows:

 patch -p1 <PATCHFILE

where the options are:

  • -pNUM tells patch to strip off NUM slashes from the pathname.

If patch prompts for a file to patch, you may need to adjust NUM.

Personal tools