You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/vips/files/vips-7.20.7-build.patch

58 lines
1.5 KiB

http://bugs.gentoo.org/show_bug.cgi?id=298671
--- libvips/colour/im_icc_transform.c
+++ libvips/colour/im_icc_transform.c
@@ -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",