summaryrefslogtreecommitdiffstats
path: root/461.patch
diff options
context:
space:
mode:
Diffstat (limited to '461.patch')
-rw-r--r--461.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/461.patch b/461.patch
new file mode 100644
index 0000000..859907d
--- /dev/null
+++ b/461.patch
@@ -0,0 +1,25 @@
+From 1b68fe77b9674e1f1da4fa0e8706e3a35f1eda03 Mon Sep 17 00:00:00 2001
+From: Dmitriy <dims.main@gmail.com>
+Date: Fri, 2 Oct 2020 10:53:28 +0300
+Subject: [PATCH] fix php 8.0 build
+
+fci.no_separation removed on php 8.0.
+https://github.com/php/php-src/commit/302933daea77663f5759b10accd1d0231393b24c
+---
+ php_memcached_server.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/php_memcached_server.c b/php_memcached_server.c
+index 4c0080e..870209c 100644
+--- a/php_memcached_server.c
++++ b/php_memcached_server.c
+@@ -63,7 +63,9 @@ long s_invoke_php_callback (php_memc_server_cb_t *cb, zval *params, ssize_t para
+ cb->fci.retval = retval;
+ cb->fci.params = params;
+ cb->fci.param_count = param_count;
++#if PHP_VERSION_ID < 80000
+ cb->fci.no_separation = 1;
++#endif
+
+ if (zend_call_function(&(cb->fci), &(cb->fci_cache)) == FAILURE) {
+ char *buf = php_memc_printable_func(&(cb->fci), &(cb->fci_cache));