Using quilt in Debian source packages. This page is aimed at people who want to make some changes to a Debian source package which is already using quilt. The intention is not to explain quilt, but to offer some Debian specific tips
Using quilt with Debian source packages
Situation: you have downloaded a Debian source package which uses quilt and want to fix a bug and then submit a patch to the maintainers.
consider adding these lines to .bashrc or run them before using quilt
?Basic quilt tasks: Making a new patch
The source code unpacked by apt-get source does not have patches applied.
?First step: apply existing patches to the source
to "push" all existing patches onto the source tree (when you build a package, this is done by the build scripts)
?Creating a new patch:
Now, make you changes to the files added to the patch: edit it, or replace it with an already modified file stored in a different directory.
?Updating a patch with changes made to its files
?Finish your editing