Lumalab

Search entriesDeutsch English
  
User:   Password:    
Forum > Linux > Creating Patches
StartStopPage 1 of 1StopEnde
Author: EngysTopic: Creating PatchesLast change: 2014-11-04 15:00:57 

Creating patch:

diff -Naur <orig-file> <mod-file> >> patch.patch

Using patch:

patch -u <orig-file> <patch-file>

This also works for directories:

diff -Naur wine-1.7.1 csmt-wine-1.7.1 >> csmt.diff

To use this cd to wine-1.7.1 directory and patch with:

patch -p1 < csmt.diff

UpReply 
StartStopPage 1 of 1StopEnde