diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-01-03 19:37:31 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-01-03 19:37:31 +0000 |
commit | 22ce79a5ec50177752f5d80bfa7f24bad1c31960 (patch) | |
tree | f090134a7b14398b671320983acffcd554e94f3f /print/ghostscript-gpl/files/patch-src:gdevifno.c | |
parent | d1a0aa72de79531cbacc1e6eea8398a04dd6eac6 (diff) | |
download | ports-22ce79a5ec50177752f5d80bfa7f24bad1c31960.tar.gz ports-22ce79a5ec50177752f5d80bfa7f24bad1c31960.zip |
Notes
Diffstat (limited to 'print/ghostscript-gpl/files/patch-src:gdevifno.c')
-rw-r--r-- | print/ghostscript-gpl/files/patch-src:gdevifno.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/files/patch-src:gdevifno.c b/print/ghostscript-gpl/files/patch-src:gdevifno.c new file mode 100644 index 000000000000..b3bc447dd27a --- /dev/null +++ b/print/ghostscript-gpl/files/patch-src:gdevifno.c @@ -0,0 +1,15 @@ +--- src/gdevifno.c.orig Sun Jun 16 14:48:55 2002 ++++ src/gdevifno.c Sun Nov 10 22:49:32 2002 +@@ -99,8 +99,10 @@ + * rgb and color map entries + */ + private gx_color_index +-inferno_rgb2cmap(gx_device *dev, gx_color_value red, +- gx_color_value green, gx_color_value blue) { ++inferno_rgb2cmap(gx_device *dev, const gx_color_value cv[]) { ++ gx_color_value red = cv[0]; ++ gx_color_value green = cv[1]; ++ gx_color_value blue = cv[2]; + int shift; + inferno_device *bdev = (inferno_device*) dev; + int nbits = bdev->nbits; |