Patching Find or create any relevant patches To fix bugs To backport security fixes To add or backport features To change config files or standard paths of some files Keep the tarball pristine, however -- patches should be separate Resist the temptation to put all changes into a single patch -- you may want to remove one of them later