User Tools

Site Tools


tips:linux:applypatch
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


tips:linux:applypatch [2009/06/08 15:38] (current) – created erik
Line 1: Line 1:
 +====== How to make and apply a patch? ======
  
 +To make a patch:
 +
 +<code>
 +diff -urN file.old file.new > file.patch
 +</code>
 +
 +You may need to modify the first line of the patch to match the actual file name.
 +
 +To apply a patch:
 +
 +<code>
 +patch -b < file.patch
 +</code>
 +
 +For more information see this [[http://www.devchannel.org/article.pl?sid=04/06/02/1521207|article]].
tips/linux/applypatch.txt · Last modified: 2009/06/08 15:38 by erik