From e8386d203def4f6cbc1b1378a16276502b3ade29 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Jul 2025 14:25:53 +0200 Subject: fix build with PHP 8.5.0alpha3 using patch from --- 82.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 82.patch (limited to '82.patch') diff --git a/82.patch b/82.patch new file mode 100644 index 0000000..4417d24 --- /dev/null +++ b/82.patch @@ -0,0 +1,25 @@ +From 6fea3565c81b4689d73ea43267f6e42306547ae3 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Wed, 30 Jul 2025 14:20:14 +0200 +Subject: [PATCH] use Zend/zend_smart_string.h + +--- + pub.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/pub.c b/pub.c +index eaa0011..c2fb812 100644 +--- a/pub.c ++++ b/pub.c +@@ -27,7 +27,11 @@ + #include "ext/standard/php_var.h" + #include + #include ++#if PHP_VERSION_ID < 70200 + #include "ext/standard/php_smart_string_public.h" ++#else ++#include "Zend/zend_smart_string.h" ++#endif + #include "ext/json/php_json.h" + #include "zend_smart_str.h" + #include -- cgit