[Pkg-cups-devel] r731 - in cupsys/trunk/debian: . patches

Till Kamppeter till-guest at alioth.debian.org
Fri Mar 21 22:38:49 UTC 2008


Author: till-guest
Date: Fri Mar 21 22:38:48 2008
New Revision: 731

Log:
Updated pdftops-cups-1.4.dpatch according to CUPS STR #2716.


Modified:
   cupsys/trunk/debian/changelog
   cupsys/trunk/debian/patches/pdftops-cups-1.4.dpatch

Modified: cupsys/trunk/debian/changelog
==============================================================================
--- cupsys/trunk/debian/changelog	(original)
+++ cupsys/trunk/debian/changelog	Fri Mar 21 22:38:48 2008
@@ -1,6 +1,8 @@
 cupsys (1.3.6-3) UNRELEASED; urgency=low
 
   [ Till Kamppeter ]
+  * pdftops-cups-1.4.dpatch: Updated to Mike Sweet's patch version from CUPS
+    STR #2716.
   * debian/patches/ppd-poll-with-client-conf.dpatch: If there is a client.conf
     pointing to a remote server, clients were not able to poll the PPD options
     from printers on that server (CUPS STRs #2731, #2763)
@@ -9,7 +11,7 @@
   * debian/local/apparmor-profile: Allow cups-pdf to read files in ~/PDF/, so
     that it can overwrite files. (LP: #161222)
 
- -- Martin Pitt <mpitt at debian.org>  Wed, 19 Mar 2008 14:59:52 +0100
+ -- Martin Pitt <mpitt at debian.org>  Fri, 21 Mar 2008 14:59:52 +0100
 
 cupsys (1.3.6-2) unstable; urgency=low
 

Modified: cupsys/trunk/debian/patches/pdftops-cups-1.4.dpatch
==============================================================================
--- cupsys/trunk/debian/patches/pdftops-cups-1.4.dpatch	(original)
+++ cupsys/trunk/debian/patches/pdftops-cups-1.4.dpatch	Fri Mar 21 22:38:48 2008
@@ -255,13 +255,13 @@
 +
 +      if (orientation & 1)
 +      {
-+	snprintf(pdfwidth, sizeof(pdfwidth), "%d", (int)(size->length));
-+	snprintf(pdfheight, sizeof(pdfheight), "%d", (int)(size->width));
++	snprintf(pdfwidth, sizeof(pdfwidth), "%.0f", size->length);
++	snprintf(pdfheight, sizeof(pdfheight), "%.0f", size->width);
 +      }
 +      else
 +      {
-+	snprintf(pdfwidth, sizeof(pdfwidth), "%d", (int)(size->width));
-+		 snprintf(pdfheight, sizeof(pdfheight), "%d", (int)(size->length));
++	snprintf(pdfwidth, sizeof(pdfwidth), "%.0f", size->width);
++	snprintf(pdfheight, sizeof(pdfheight), "%.0f", size->length);
 +      }
 +
 +      pdfargv[pdfargc++] = (char *)"-paperw";



More information about the Pkg-cups-devel mailing list