If I'm not mistaken, using dpkg-buildpackage would give you a source package that applies the patch, but you would still have to build the source anyway.
The way I did it is by doing:
mkdir cups-source
cd cups-source
apt-get source cups
cd cups-1.5.0
patch -p1 < patchfile
./configure
make
sudo make install
You'll need to install the po4a package first (and gcc etc.).
If I'm not mistaken, using dpkg-buildpackage would give you a source package that applies the patch, but you would still have to build the source anyway.
The way I did it is by doing:
mkdir cups-source
cd cups-source
apt-get source cups
cd cups-1.5.0
patch -p1 < patchfile
./configure
make
sudo make install
You'll need to install the po4a package first (and gcc etc.).