Code sync
[external/hplip.git] / packaging / add_missing_newline_for_error_log.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## add_missing_newline_for_error_log.dpatch by  <till.kamppeter@gmail.com>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: No description.
6
7 @DPATCH@
8 diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.9~/prnt/hpcups/HPCupsFilter.cpp hplip-3.10.9/prnt/hpcups/HPCupsFilter.cpp
9 --- hplip-3.10.9~/prnt/hpcups/HPCupsFilter.cpp  2010-09-26 19:01:47.000000000 +0200
10 +++ hplip-3.10.9/prnt/hpcups/HPCupsFilter.cpp   2010-12-07 10:57:00.075229061 +0100
11 @@ -620,7 +620,7 @@
12              WriteBMPHeader (kfp, cups_header.cupsWidth, cups_header.cupsHeight, BLACK_RASTER);
13          }
14  
15 -        fprintf(stderr, "PAGE: %d %s", current_page_number, m_argv[4]);
16 +        fprintf(stderr, "PAGE: %d %s\n", current_page_number, m_argv[4]);
17          // Iterating through the raster per page
18          for (int y = 0; y < (int) cups_header.cupsHeight; y++) {
19              cupsRasterReadPixels (cups_raster, m_pPrinterBuffer, cups_header.cupsBytesPerLine);