summaryrefslogtreecommitdiffstats
path: root/66.patch
diff options
context:
space:
mode:
Diffstat (limited to '66.patch')
-rw-r--r--66.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/66.patch b/66.patch
new file mode 100644
index 0000000..7d7b117
--- /dev/null
+++ b/66.patch
@@ -0,0 +1,25 @@
+From 488ea66312bd392eb890cf276529940abb91ae06 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Mon, 24 Aug 2020 10:32:53 +0200
+Subject: [PATCH] fix for upcoming PHP 8
+
+---
+ phpiredis.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/phpiredis.c b/phpiredis.c
+index 952724a..2665fee 100644
+--- a/phpiredis.c
++++ b/phpiredis.c
+@@ -28,6 +28,11 @@ int le_redis_persistent_context;
+ typedef long zend_long;
+ #endif
+
++#ifndef TSRMLS_CC
++#define TSRMLS_CC
++#define TSRMLS_DC
++#endif
++
+ typedef struct callback {
+ #ifdef ZEND_ENGINE_3
+ zval function;