From 065376aaf8ce4ed83671f0ebca730dade5d023c6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 18 Sep 2023 07:28:19 +0200 Subject: update to version 6.9.12 patch level 94 fix build using patch from https://github.com/ImageMagick/ImageMagick6/pull/269 --- 0001-fix-type-cast.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 0001-fix-type-cast.patch (limited to '0001-fix-type-cast.patch') diff --git a/0001-fix-type-cast.patch b/0001-fix-type-cast.patch new file mode 100644 index 0000000..0c69b4c --- /dev/null +++ b/0001-fix-type-cast.patch @@ -0,0 +1,25 @@ +From a97ce11225d0b043ed62b8ef56e848d5578e11f2 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Mon, 18 Sep 2023 06:45:04 +0200 +Subject: [PATCH] fix type cast + +--- + PerlMagick/quantum/quantum.xs.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/PerlMagick/quantum/quantum.xs.in b/PerlMagick/quantum/quantum.xs.in +index d58ca0d53..96c65721d 100644 +--- a/PerlMagick/quantum/quantum.xs.in ++++ b/PerlMagick/quantum/quantum.xs.in +@@ -10843,7 +10843,7 @@ Mogrify(ref,...) + channel=(ChannelType) argument_list[1].integer_reference; + method=UndefinedMorphology; + if (attribute_flag[2] != 0) +- method=(MorphologyMethod)) argument_list[2].integer_reference; ++ method=(MorphologyMethod) argument_list[2].integer_reference; + iterations=1; + if (attribute_flag[3] != 0) + iterations=argument_list[3].integer_reference; +-- +2.41.0 + -- cgit