components/ghostscript/patches/7152414.patch
author John Beck <John.Beck@Oracle.COM>
Fri, 27 Feb 2015 14:35:08 -0800
branchs11-update
changeset 3980 a5c4d6759ee0
parent 852 0a7f3f0c7b6f
child 7819 b1bca76ec901
permissions -rw-r--r--
20616942 package runtime/python-27 is not pkg verify clean
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);