This package uses dpatch for its patches management, see /usr/share/doc/dpatch/README.source if you are unfamiliar with it.