diff --git a/converters/pecl-igbinary/Makefile b/converters/pecl-igbinary/Makefile index 43c98b61c1bb..a008161cd662 100644 --- a/converters/pecl-igbinary/Makefile +++ b/converters/pecl-igbinary/Makefile @@ -1,26 +1,20 @@ PORTNAME= igbinary PORTVERSION= 3.2.16 CATEGORIES= converters MAINTAINER= sunpoet@FreeBSD.org COMMENT= Replacement for the standard PHP serializer WWW= https://pecl.php.net/package/igbinary \ https://github.com/igbinary/igbinary LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= php:pecl -.include - post-patch: -.if ${PHP_VER} >= 85 - @${REINPLACE_CMD} -e 's|ext/standard/php_smart_string.h|Zend/zend_smart_string.h|' \ - ${WRKSRC}/src/php7/php_igbinary.h -.endif # Install the real header files @${CP} ${WRKSRC}/src/php7/igbinary.h ${WRKSRC}/igbinary.h @${CP} ${WRKSRC}/src/php7/php_igbinary.h ${WRKSRC}/php_igbinary.h -.include +.include diff --git a/converters/pecl-igbinary/files/patch-php85 b/converters/pecl-igbinary/files/patch-php85 new file mode 100644 index 000000000000..dad6450cd9f5 --- /dev/null +++ b/converters/pecl-igbinary/files/patch-php85 @@ -0,0 +1,11 @@ +--- src/php7/php_igbinary.h.orig 2024-08-10 16:55:30 UTC ++++ src/php7/php_igbinary.h +@@ -32,7 +32,7 @@ ZEND_END_MODULE_GLOBALS(igbinary) + #include "TSRM.h" + #endif + +-#include "ext/standard/php_smart_string.h" ++#include "Zend/zend_smart_string.h" + + /** Module init function. */ + PHP_MINIT_FUNCTION(igbinary);