diff options
Diffstat (limited to 'media-libs/vips/files/vips-7.20.7-build.patch')
-rw-r--r-- | media-libs/vips/files/vips-7.20.7-build.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/vips/files/vips-7.20.7-build.patch b/media-libs/vips/files/vips-7.20.7-build.patch new file mode 100644 index 000000000000..7e1fe93fa1e4 --- /dev/null +++ b/media-libs/vips/files/vips-7.20.7-build.patch @@ -0,0 +1,57 @@ +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", |