The used patch system is dpatch.

To patch the source:
 * debian/rules patch
To add a new patch:
 * put it under debian/patches
 * add it to debian/patches/00list


See /usr/share/doc/dpatch/README.source.gz for more information.
