components/ghostscript/patches/7152414.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 11 Mar 2013 10:38:09 -0700
branchs11-update
changeset 2520 ceec631e74d1
parent 852 0a7f3f0c7b6f
child 7819 b1bca76ec901
permissions -rw-r--r--
Close of build 10.
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);