--- vips-7.20.6.orig/libvips/colour/im_icc_transform.c 2009-11-30 13:55:36.000000000 +0100 +++ vips-7.20.6/libvips/colour/im_icc_transform.c 2009-12-29 21:30:22.860539581 +0100 @@ -63,7 +63,7 @@ im_icc_transform( IMAGE *in, IMAGE *out, const char *input_profile_filename, const char *output_profile_filename, - int intent ) + VipsIntent intent ) { im_error( "im_icc_transform", "%s", _( "lcms library not linked to this VIPS" ) ); @@ -73,7 +73,7 @@ int im_icc_import( IMAGE *in, IMAGE *out, - const char *input_profile_filename, int intent ) + const char *input_profile_filename, VipsIntent intent ) { im_error( "im_icc_import", "%s", _( "lmcs library not linked to this VIPS" ) ); @@ -82,7 +82,7 @@ } int -im_icc_import_embedded( IMAGE *in, IMAGE *out, int intent ) +im_icc_import_embedded( IMAGE *in, IMAGE *out, VipsIntent intent ) { im_error( "im_icc_import", "%s", _( "lmcs library not linked to this VIPS" ) ); @@ -92,7 +92,7 @@ int im_icc_export_depth( IMAGE *in, IMAGE *out, int depth, - const char *output_profile_filename, int intent ) + const char *output_profile_filename, VipsIntent intent ) { im_error( "im_icc_export_depth", "%s", _( "lmcs library not linked to this VIPS" ) ); @@ -101,16 +101,6 @@ } int -im_icc_export( IMAGE *in, IMAGE *out, - const char *output_profile_filename, int intent ) -{ - im_error( "im_icc_export", "%s", - _( "lmcs library not linked to this VIPS" ) ); - - return( -1 ); -} - -int im_icc_ac2rc( IMAGE *in, IMAGE *out, const char *profile_filename ) { im_error( "im_icc_ac2rc", "%s",