summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-01-14 15:47:09 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-01-14 15:47:36 +0100
commit507e6ed891234a0078758860bfa6da1c1a067e99 (patch)
treef21de960165d3dc7a0e0664801fc00c66c5a19f3 /dev-php/pecl-imagick/files
parentmedia-plugins/kodi-pvr-mediaportal-tvserver: 3.5.15 version bump (diff)
downloadgentoo-507e6ed891234a0078758860bfa6da1c1a067e99.tar.gz
gentoo-507e6ed891234a0078758860bfa6da1c1a067e99.tar.bz2
gentoo-507e6ed891234a0078758860bfa6da1c1a067e99.zip
dev-php/pecl-imagick: bump to snapshot version to add PHP 7.3 support
Package-Manager: Portage-2.3.55, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php/pecl-imagick/files')
-rw-r--r--dev-php/pecl-imagick/files/pecl-imagick-3.4.3-tsrm_ls-is-undeclared.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-php/pecl-imagick/files/pecl-imagick-3.4.3-tsrm_ls-is-undeclared.patch b/dev-php/pecl-imagick/files/pecl-imagick-3.4.3-tsrm_ls-is-undeclared.patch
new file mode 100644
index 000000000000..ff0a1eb38885
--- /dev/null
+++ b/dev-php/pecl-imagick/files/pecl-imagick-3.4.3-tsrm_ls-is-undeclared.patch
@@ -0,0 +1,18 @@
+https://github.com/mkoppanen/imagick/issues/264
+
+--- a/imagick_file.c
++++ b/imagick_file.c
+@@ -160,11 +160,13 @@ static
+ int php_imagick_read_image_using_imagemagick(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC)
+ {
+
++#ifdef ZTS
+ #ifndef ZEND_ENGINE_3
+ #if PHP_VERSION_ID >= 50600
+ // This suppresses an 'unused parameter' warning.
+ (void)tsrm_ls;
+ #endif
++#endif
+ #endif
+
+ if (type == ImagickReadImage) {