Development - Patches

From Bluefish Wiki
Revision as of 10:11, 30 December 2009 by Fal7i (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



PLEASE SEE Sending Patches !

7. Patches

Before starting to code:

  1. Update your SVN tree, or alternatively download the latest snapshot
  2. Copy this original tree, so you can make a patch against this tree

Before creating the patch:

  1. Run make distclean && ./configure && make and test if it runs successfully
  2. 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:

  1. Run make distclean in both trees
  2. cd to the parent directory of both trees
  3. Run diff -Naur original-tree my-tree | bzip2 -9c > patchbla.diff.bz2