summaryrefslogtreecommitdiffstats
path: root/2677.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-07-30 13:33:33 +0200
committerRemi Collet <remi@php.net>2025-07-30 13:33:33 +0200
commit2036374c7908c83fa33b5b13882cf65dec742850 (patch)
tree0f3d5bbb168cfe2cd3a7c571810fe8eb2e24f460 /2677.patch
parent02ae0051a6fd03737e887334b47e88cff5acdbb4 (diff)
add patch for PHP 8.5.0alpha3 fromHEADmaster
https://github.com/phpredis/phpredis/pull/2677
Diffstat (limited to '2677.patch')
-rw-r--r--2677.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/2677.patch b/2677.patch
new file mode 100644
index 0000000..57d9da4
--- /dev/null
+++ b/2677.patch
@@ -0,0 +1,22 @@
+From f20f46525ff36cce29d61ae074c416b4673d3bd8 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 30 Jul 2025 13:29:27 +0200
+Subject: [PATCH] use Zend/zend_smart_string.h
+
+---
+ common.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/common.h b/common.h
+index 57e2903b81..7a7ee67b6a 100644
+--- a/common.h
++++ b/common.h
+@@ -11,7 +11,7 @@
+ #include <ext/standard/php_var.h>
+ #include <ext/standard/php_math.h>
+ #include <zend_smart_str.h>
+-#include <ext/standard/php_smart_string.h>
++#include <zend_smart_string.h>
+
+ #define PHPREDIS_GET_OBJECT(class_entry, o) (class_entry *)((char *)o - XtOffsetOf(class_entry, std))
+ #define PHPREDIS_ZVAL_GET_OBJECT(class_entry, z) PHPREDIS_GET_OBJECT(class_entry, Z_OBJ_P(z))