summaryrefslogtreecommitdiff
path: root/print/ghostscript8/files/patch-src:gdevlx50.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-06-08 02:38:06 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-06-08 02:38:06 +0000
commit3201a2c95a75e59515ef3fd745df879692774e81 (patch)
tree0e0b789f0ea059536b7bf171d40cfcc5190248d2 /print/ghostscript8/files/patch-src:gdevlx50.c
parentUpdate to version 1.07 (diff)
- Add drivers for Lexmark printers.
- Add option to use SVGAlib console driver. PR: 52479 Submitted by: Ports Fury
Diffstat (limited to 'print/ghostscript8/files/patch-src:gdevlx50.c')
-rw-r--r--print/ghostscript8/files/patch-src:gdevlx50.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/print/ghostscript8/files/patch-src:gdevlx50.c b/print/ghostscript8/files/patch-src:gdevlx50.c
new file mode 100644
index 000000000000..01ceae208cd3
--- /dev/null
+++ b/print/ghostscript8/files/patch-src:gdevlx50.c
@@ -0,0 +1,17 @@
+--- src/gdevlx50.c.orig Thu May 15 07:38:07 2003
++++ src/gdevlx50.c Thu May 15 08:02:58 2003
+@@ -2603,9 +2603,12 @@
+
+ /* Map CMYK to color. */
+ private gx_color_index
+-lx5000_map_cmyk_color(gx_device * dev, gx_color_value cyan,
+- gx_color_value magenta, gx_color_value yellow, gx_color_value black)
++lx5000_map_cmyk_color(gx_device * dev, const gx_color_value cv[])
+ {
++ gx_color_value cyan = cv[0];
++ gx_color_value magenta = cv[1];
++ gx_color_value yellow = cv[2];
++ gx_color_value black = cv[3];
+ int bpc = dev->color_info.depth / 4;
+ int drop = sizeof(gx_color_value) * 8 - bpc;
+ gx_color_index color =