diff options
Diffstat (limited to 'archivers/php-zstd')
-rw-r--r-- | archivers/php-zstd/Makefile | 12 | ||||
-rw-r--r-- | archivers/php-zstd/distinfo | 6 |
2 files changed, 13 insertions, 5 deletions
diff --git a/archivers/php-zstd/Makefile b/archivers/php-zstd/Makefile index 696d892de8e1..1e12b8a19503 100644 --- a/archivers/php-zstd/Makefile +++ b/archivers/php-zstd/Makefile @@ -1,5 +1,5 @@ PORTNAME= zstd -DISTVERSION= 0.11.0 +DISTVERSION= 0.14.0 CATEGORIES= archivers PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} @@ -20,4 +20,12 @@ GH_PROJECT= php-ext-zstd CONFIGURE_ARGS= --with-libzstd -.include <bsd.port.mk> +.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}/zstd.c +.endif + +.include <bsd.port.post.mk> diff --git a/archivers/php-zstd/distinfo b/archivers/php-zstd/distinfo index 0948d2fdf011..19ecb365d3b1 100644 --- a/archivers/php-zstd/distinfo +++ b/archivers/php-zstd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1644301497 -SHA256 (kjdev-php-ext-zstd-0.11.0_GH0.tar.gz) = 5733663812e2729faf9d3c412cfa03ca11b4dbb1e780e2893ecba4ab1e7ab99e -SIZE (kjdev-php-ext-zstd-0.11.0_GH0.tar.gz) = 19785 +TIMESTAMP = 1754010154 +SHA256 (kjdev-php-ext-zstd-0.14.0_GH0.tar.gz) = eb957ecbfa012610ef68bfe7de381e79055f78d73ec209ebc1997348b1731538 +SIZE (kjdev-php-ext-zstd-0.14.0_GH0.tar.gz) = 27210 |