From: Cristy Date: Sun, 14 Feb 2016 14:08:15 +0000 (-0500) Subject: Fix PerlMagick compile error X-Git-Tag: 7.0.1-0~222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f20e35607ce5eaf70500b8f89c8e728c8040eb21;p=imagemagick Fix PerlMagick compile error --- diff --git a/PerlMagick/Magick.xs b/PerlMagick/Magick.xs index b81cf4de5..225249266 100644 --- a/PerlMagick/Magick.xs +++ b/PerlMagick/Magick.xs @@ -11314,10 +11314,10 @@ Mogrify(ref,...) PixelInfo color; - (void) QueryMagickColor("none",&color,exception); + (void) QueryColorCompliance("none",AllCompliance,&color,exception); if (attribute_flag[0] != 0) - (void) QueryMagickColor(argument_list[0].string_reference, - &color,exception); + (void) QueryColorCompliance(argument_list[0].string_reference, + AllCompliance,&color,exception); (void) SetImageColor(image,&color,exception); break; } diff --git a/PerlMagick/quantum/quantum.xs.in b/PerlMagick/quantum/quantum.xs.in index 32154789d..b7b866d64 100644 --- a/PerlMagick/quantum/quantum.xs.in +++ b/PerlMagick/quantum/quantum.xs.in @@ -11314,10 +11314,10 @@ Mogrify(ref,...) PixelInfo color; - (void) QueryMagickColor("none",&color,exception); + (void) QueryColorCompliance("none",AllCompliance,&color,exception); if (attribute_flag[0] != 0) - (void) QueryMagickColor(argument_list[0].string_reference, - &color,exception); + (void) QueryColorCompliance(argument_list[0].string_reference, + AllCompliance,&color,exception); (void) SetImageColor(image,&color,exception); break; }