From b677321799625f1cc1e2d4cb77938c95afc0333a Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 14 Nov 2024 15:36:58 +0100 Subject: [PATCH] Add support for imagick on PHP 8.3 (#811) --- data/supported-extensions | 2 +- install-php-extensions | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/data/supported-extensions b/data/supported-extensions index da3eff6..7c48ad6 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 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 +imagick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 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 2d3f60f..19eb988 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -273,6 +273,13 @@ EOT # Nothing processPHPModuleArgument() { processPHPModuleArgument_arg="$1" + case "$processPHPModuleArgument_arg" in + imagick) + if test $PHP_MAJMIN_VERSION -ge 803; then + processPHPModuleArgument_arg=imagick/imagick@28f27044e435a2b203e32675e942eb8de620ee58 + fi + ;; + esac # Convert GitHub short form to long url, # for example: from # php-memcached-dev/php-memcached@8f106564e6bb005ca6100b12ccc89000daafa9d8