From 57ee57a024fbbb89d44a7a09a9089329819f377c Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 22 Nov 2024 18:42:34 +0100 Subject: [PATCH] Add support for imagick on PHP 8.4 (#1010) --- data/supported-extensions | 2 +- install-php-extensions | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/data/supported-extensions b/data/supported-extensions index 85235aa..50f76ae 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -35,7 +35,7 @@ gnupg 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 grpc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 http 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 igbinary 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 -imagick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 +imagick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 imap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 inotify 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 interbase 5.5 5.6 7.0 7.1 7.2 7.3 diff --git a/install-php-extensions b/install-php-extensions index 19eb988..06dfff5 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -275,7 +275,9 @@ processPHPModuleArgument() { processPHPModuleArgument_arg="$1" case "$processPHPModuleArgument_arg" in imagick) - if test $PHP_MAJMIN_VERSION -ge 803; then + if test $PHP_MAJMIN_VERSION -ge 804; then + processPHPModuleArgument_arg=imagick/imagick@65e27f2bc02e7e8f1bf64e26e359e42a1331fca1 + elif test $PHP_MAJMIN_VERSION -ge 803; then processPHPModuleArgument_arg=imagick/imagick@28f27044e435a2b203e32675e942eb8de620ee58 fi ;;