summaryrefslogtreecommitdiffstats
path: root/82.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-07-30 14:25:53 +0200
committerRemi Collet <remi@php.net>2025-07-30 14:25:53 +0200
commite8386d203def4f6cbc1b1378a16276502b3ade29 (patch)
treeb4299136588c0925cacf0e43238e469e1c3ae51d /82.patch
parente9a97f6c8031b6e5d200d0a533bc0e3094b4a37c (diff)
fix build with PHP 8.5.0alpha3 using patch fromHEADmaster
Diffstat (limited to '82.patch')
-rw-r--r--82.patch25
1 files changed, 25 insertions, 0 deletions
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 <remi@remirepo.net>
+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 <errno.h>
+ #include <fcntl.h>
++#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 <signal.h>