User Tools

Site Tools


tips:linux:applypatch

Differences

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

Link to this comparison view

tips:linux:applypatch [2009/06/08 15:38] (current)
erik created
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