diff --git a/graphics/pecl-imagick/Makefile b/graphics/pecl-imagick/Makefile index bc1949cbb83f..ec589f259853 100644 --- a/graphics/pecl-imagick/Makefile +++ b/graphics/pecl-imagick/Makefile @@ -1,27 +1,29 @@ PORTNAME= imagick -DISTVERSION= 3.8.0 -PORTREVISION= 2 +DISTVERSION= 3.8.1 CATEGORIES= graphics MAINTAINER= 000.fbsd@quip.cz COMMENT= PHP wrapper to the ImageMagick/GraphicsMagick library WWW= https://pecl.php.net/package/imagick LICENSE= PHP301 +LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe localbase magick php:pecl -IGNORE_WITH_PHP= 86 CPE_VENDOR= php CONFIGURE_ARGS= --with-imagick=${LOCALBASE} .include post-patch: -.if ${PHP_VER} >= 85 - @${REINPLACE_CMD} -e 's|ext/standard/php_smart_string|Zend/zend_smart_string|' \ - ${WRKSRC}/imagick.c +.if ${PHP_VER} >= 86 + @${REINPLACE_CMD} -e 's|XtOffsetOf|offsetof|' \ + -e 's|zval_dtor|zval_ptr_dtor_nogc|' \ + ${WRKSRC}/imagick.c \ + ${WRKSRC}/imagick_helpers.c \ + ${WRKSRC}/php_imagick_defs.h .endif .include diff --git a/graphics/pecl-imagick/distinfo b/graphics/pecl-imagick/distinfo index 289b596d5459..054061cd4788 100644 --- a/graphics/pecl-imagick/distinfo +++ b/graphics/pecl-imagick/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1745699577 -SHA256 (PECL/imagick-3.8.0.tgz) = bda67461c854f20d6105782b769c524fc37388b75d4481d951644d2167ffeec6 -SIZE (PECL/imagick-3.8.0.tgz) = 363874 +TIMESTAMP = 1783386842 +SHA256 (PECL/imagick-3.8.1.tgz) = 3a3587c0a524c17d0dad9673a160b90cd776e836838474e173b549ed864352ee +SIZE (PECL/imagick-3.8.1.tgz) = 364008