Development - Patches: Difference between revisions
Jump to navigation
Jump to search
m Created page with '__NOTOC__ __NOEDITSECTION__ {{Man2top |lang=en |rev=2.0.0 |st=d |Title=7. Patches |prev=Man 2 ch12s06 |Subtitle=Chapter XII. Development guidelines |next=Man 2 ch1…' |
Bill Valaski (talk | contribs) m moved Man 2 ch12s07 to Development - Patches: Title updates (BV) |
(No difference)
|
Latest revision as of 11:16, 9 July 2010
PLEASE SEE Sending Patches !
7. Patches
Before starting to code:
- Update your SVN tree, or alternatively download the latest snapshot
- Copy this original tree, so you can make a patch against this tree
Before creating the patch:
- Run make distclean && ./configure && make and test if it runs successfully
- If you have the possibility do this both with gcc-2.95 and gcc-3.x as compiler
Now create the patch. Assuming that you have two directories, original-tree and my-tree:
- Run make distclean in both trees
- cd to the parent directory of both trees
- Run diff -Naur original-tree my-tree | bzip2 -9c > patchbla.diff.bz2