diff options
Diffstat (limited to 'devel/pecl-zookeeper')
-rw-r--r-- | devel/pecl-zookeeper/Makefile | 10 | ||||
-rw-r--r-- | devel/pecl-zookeeper/files/patch-php85 | 11 |
2 files changed, 12 insertions, 9 deletions
diff --git a/devel/pecl-zookeeper/Makefile b/devel/pecl-zookeeper/Makefile index 558f39c2a8e1..b1d8c572c3ae 100644 --- a/devel/pecl-zookeeper/Makefile +++ b/devel/pecl-zookeeper/Makefile @@ -18,16 +18,8 @@ USE_PHP= session:build PORTDATA= zookeeper-api.php -.include <bsd.port.pre.mk> - -post-patch: -.if ${PHP_VER} >= 85 - @${REINPLACE_CMD} -e 's|ext/standard/php_smart_string|Zend/zend_smart_string|' \ - ${WRKSRC}/php_zookeeper.c -.endif - post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/zookeeper-api.php ${STAGEDIR}${DATADIR}/ -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/devel/pecl-zookeeper/files/patch-php85 b/devel/pecl-zookeeper/files/patch-php85 index 6efa2f09aa6b..f6f5aedd927e 100644 --- a/devel/pecl-zookeeper/files/patch-php85 +++ b/devel/pecl-zookeeper/files/patch-php85 @@ -1,3 +1,14 @@ +--- php_zookeeper.c.orig 2025-01-02 06:11:14 UTC ++++ php_zookeeper.c +@@ -39,7 +39,7 @@ + #include <ext/standard/info.h> + #include <zend_extensions.h> + +-#include <ext/standard/php_smart_string.h> ++#include <Zend/zend_smart_string.h> + + #include "php_zookeeper.h" + #include "php_zookeeper_private.h" --- php_zookeeper_exceptions.c.orig 2025-01-02 06:11:14 UTC +++ php_zookeeper_exceptions.c @@ -39,7 +39,7 @@ void php_zk_register_exceptions() |