summaryrefslogtreecommitdiffstats
path: root/5ba2256141c7f724920bde9eddfd4f666c309d61.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-06-24 08:07:37 +0200
committerRemi Collet <remi@remirepo.net>2017-06-24 08:07:37 +0200
commit82738c8acdf7a4034f20e010c6963f115ecc5416 (patch)
tree21e658ff20adba59584420aa6679cb2e7e3740e5 /5ba2256141c7f724920bde9eddfd4f666c309d61.patch
parent7f1ae8035085b4e10f4f28de8021147e92665eaf (diff)
fix for 7.2
Diffstat (limited to '5ba2256141c7f724920bde9eddfd4f666c309d61.patch')
-rw-r--r--5ba2256141c7f724920bde9eddfd4f666c309d61.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/5ba2256141c7f724920bde9eddfd4f666c309d61.patch b/5ba2256141c7f724920bde9eddfd4f666c309d61.patch
new file mode 100644
index 0000000..00ce016
--- /dev/null
+++ b/5ba2256141c7f724920bde9eddfd4f666c309d61.patch
@@ -0,0 +1,24 @@
+From 5ba2256141c7f724920bde9eddfd4f666c309d61 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Sat, 24 Jun 2017 07:44:35 +0200
+Subject: [PATCH] Fix for PHP 7.2
+
+ZEND_ACC_CLONE have been removed in 7.2
+but was not used in previous version (7.0, 7.1)
+---
+ druid.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/druid.c b/druid.c
+index 1faf4c9..1c415f9 100644
+--- a/druid.c
++++ b/druid.c
+@@ -137,7 +137,7 @@ ZEND_END_ARG_INFO()
+ const zend_function_entry druid_methods[] =
+ {
+ PHP_ME(DRUID_NAME, __construct, druid_void_arginfo, ZEND_ACC_CTOR|ZEND_ACC_PRIVATE)
+- PHP_ME(DRUID_NAME, __clone, NULL, ZEND_ACC_CLONE|ZEND_ACC_PRIVATE)
++ PHP_ME(DRUID_NAME, __clone, NULL, ZEND_ACC_PRIVATE)
+ PHP_ME(DRUID_NAME, __sleep, NULL, ZEND_ACC_PRIVATE)
+ PHP_ME(DRUID_NAME, __wakeup, NULL, ZEND_ACC_PRIVATE)
+ PHP_ME(DRUID_NAME, __destruct, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR)