Procedure / HOWTO create patch files?

Khem Raj kraj at mvista.com
Fri Oct 7 00:33:11 UTC 2005



Peter S. Mazinger wrote:

>On Thu, 6 Oct 2005, Joseph M Dupre (AVAB Inc.) wrote:
>
>  
>
>>What is the prefered method to create patch files for buildroot / 
>>uClibc / Bustbox etc?
>>
>>Must they be made from current svn or is a current snapshot 
>>acceptable?
>>
>>GNU.org reccomends:
>>cvs diff -c3p
>>or
>>diff -c3p <olddir> <newdir>
>>    
>>
>
>I use diff -urN[p]
>  
>
yeah -p really helps when functions are moved around and also while 
reading the patch.

>Peter
>  
>
>>What options for diff are prefered? How does one do this directly via 
>>svn?
>>
>>I've fixed some problems in the MDT package config/make files in 
>>buildroot that I'd like to contribute, but have never made a patch 
>>file before so any pointers, tips, tricks, or references are helpful 
>>to me.
>>
>>- Joe
>>
>>
>>
>>
>>    
>>
>
>  
>

-- 
Khem Raj <kraj at mvista.com>
MontaVista Software, Inc.
www.mvista.com




More information about the uClibc mailing list