1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## hpcups-top-margins-not-respected.dpatch by <till.kamppeter@gmail.com>
4 ## All lines beginning with `## DP:' are a description of the patch.
8 diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.10~/prnt/hpcups/HPCupsFilter.cpp hplip-3.11.10/prnt/hpcups/HPCupsFilter.cpp
9 --- hplip-3.11.10~/prnt/hpcups/HPCupsFilter.cpp 2011-12-01 10:59:18.504613295 +0100
10 +++ hplip-3.11.10/prnt/hpcups/HPCupsFilter.cpp 2011-12-01 11:00:17.088807279 +0100
15 - if(header->cupsColorSpace == CUPS_CSPACE_K){
16 - if (*input_raster == 0x00 &&
17 - !(memcmp(input_raster + 1, input_raster, length_in_bytes - 1))) {
22 if (*input_raster == 0xFF &&
23 !(memcmp(input_raster + 1, input_raster, length_in_bytes - 1))) {