summaryrefslogtreecommitdiffstats
path: root/0001-fix-type-cast.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-09-18 07:28:19 +0200
committerRemi Collet <remi@php.net>2023-09-18 07:28:19 +0200
commit065376aaf8ce4ed83671f0ebca730dade5d023c6 (patch)
treeb640f74db9d0bedf2ec51bca2d476aaf7f142647 /0001-fix-type-cast.patch
parent1f91be8f8e82e8aa179343dff65e19638349fa80 (diff)
update to version 6.9.12 patch level 94
fix build using patch from https://github.com/ImageMagick/ImageMagick6/pull/269
Diffstat (limited to '0001-fix-type-cast.patch')
-rw-r--r--0001-fix-type-cast.patch25
1 files changed, 25 insertions, 0 deletions
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 <remi@remirepo.net>
+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
+