Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/cups/files: cups-1.4.8-largeimage.patch
Date: Sun, 28 Aug 2011 23:20:59
Message-Id: 20110828232047.A05A620051@flycatcher.gentoo.org
1 dilfridge 11/08/28 23:20:47
2
3 Added: cups-1.4.8-largeimage.patch
4 Log:
5 Add upstream fix for bug 378597, mis-printing of large image files
6
7 (Portage version: 2.1.10.11/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 net-print/cups/files/cups-1.4.8-largeimage.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups/files/cups-1.4.8-largeimage.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups/files/cups-1.4.8-largeimage.patch?rev=1.1&content-type=text/plain
14
15 Index: cups-1.4.8-largeimage.patch
16 ===================================================================
17 Index: filter/image.c
18 ===================================================================
19 --- filter/image.c (Revision 9872)
20 +++ filter/image.c (Revision 9873)
21 @@ -349,9 +349,10 @@
22 * Load the image as appropriate...
23 */
24
25 - img->max_ics = CUPS_TILE_MINIMUM;
26 - img->xppi = 128;
27 - img->yppi = 128;
28 + img->cachefile = -1;
29 + img->max_ics = CUPS_TILE_MINIMUM;
30 + img->xppi = 128;
31 + img->yppi = 128;
32
33 if (!memcmp(header, "GIF87a", 6) || !memcmp(header, "GIF89a", 6))
34 status = _cupsImageReadGIF(img, fp, primary, secondary, saturation, hue,