--- ghostscript-8.54.orig/src/gdevrinkj.c 2006-03-13 17:18:19.000000000 +0100 +++ ghostscript-8.54/src/gdevrinkj.c 2006-05-18 09:38:00.000000000 +0200 @@ -214,6 +214,7 @@ /* DeviceN device specific parameters */ RINKJ_DEVICE_CMYK, /* Color model */ 8, /* Bits per color - must match ncomp, depth, etc. above */ + 0, (&DeviceCMYKComponents), /* Names of color model colorants */ 4, /* Number colorants for CMYK */ {0}, /* SeparationNames */ @@ -757,7 +758,7 @@ * number if the name is found. It returns a negative value if not found. */ private int -rinkj_get_color_comp_index(const gx_device * dev, const char * pname, int name_size, int src_index) +rinkj_get_color_comp_index(gx_device * dev, const char * pname, int name_size, int src_index) { /* TO_DO_DEVICEN This routine needs to include the effects of the SeparationOrder array */ const fixed_colorant_names_list * list = ((const rinkj_device *)dev)->std_colorant_names;