components/ghostscript/patches/7152414.patch
author gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
Tue, 05 Jun 2012 13:13:11 +0530
changeset 852 0a7f3f0c7b6f
child 7819 b1bca76ec901
permissions -rw-r--r--
7152414 ghostscript corrupts pages 2 and on when printing to HP printers
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
852
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     1
--- ghostscript-9.00/cups/gdevcups.c	Thu Aug 12 23:40:47 2010
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     2
+++ gdevcups.c	Wed Mar  7 13:16:38 2012
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     3
@@ -3459,7 +3459,7 @@
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     4
       sp = ((gx_device_printer *)pdev)->space_params;
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     5
 
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     6
       if ((code = gdev_prn_maybe_realloc_memory((gx_device_printer *)pdev, &sp, 
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     7
-						width_old, height_old,
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     8
+						width, height,
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
     9
 						cups->page_uses_transparency))
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
    10
 	  < 0)
0a7f3f0c7b6f 7152414 ghostscript corrupts pages 2 and on when printing to HP printers
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
diff changeset
    11
 	return (code);