summaryrefslogtreecommitdiffstats
path: root/95120639f0bfb6d4a6fe076ddf1b3016eda5e664.patch
diff options
context:
space:
mode:
Diffstat (limited to '95120639f0bfb6d4a6fe076ddf1b3016eda5e664.patch')
-rw-r--r--95120639f0bfb6d4a6fe076ddf1b3016eda5e664.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/95120639f0bfb6d4a6fe076ddf1b3016eda5e664.patch b/95120639f0bfb6d4a6fe076ddf1b3016eda5e664.patch
new file mode 100644
index 0000000..cff7ace
--- /dev/null
+++ b/95120639f0bfb6d4a6fe076ddf1b3016eda5e664.patch
@@ -0,0 +1,40 @@
+From 95120639f0bfb6d4a6fe076ddf1b3016eda5e664 Mon Sep 17 00:00:00 2001
+From: Joe Watkins <krakjoe@php.net>
+Date: Sun, 16 Jun 2019 08:34:10 +0200
+Subject: [PATCH] fix 7.4 build
+
+---
+ src/definition.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/definition.c b/src/definition.c
+index 2655a7f..659e65b 100644
+--- a/src/definition.c
++++ b/src/definition.c
+@@ -751,7 +751,7 @@ PHP_METHOD(Definition, addTrait)
+
+ o->ce->ce_flags |= ZEND_ACC_IMPLEMENT_TRAITS;
+
+- zend_do_link_class(o->ce, NULL);
++ zend_do_link_class(o->ce);
+
+ o->ce->num_traits = num_traits + 1;
+ o->ce->trait_names -= num_traits;
+@@ -859,7 +859,7 @@ PHP_METHOD(Definition, addProperty)
+ php_componere_value_addref(value);
+
+ #if PHP_VERSION_ID >= 70400
+- zend_do_link_class(o->ce, NULL);
++ zend_do_link_class(o->ce);
+ #endif
+ }
+
+@@ -917,7 +917,7 @@ PHP_METHOD(Definition, addConstant)
+ php_componere_value_access(value), NULL);
+
+ #if PHP_VERSION_ID >= 70400
+- zend_do_link_class(o->ce, NULL);
++ zend_do_link_class(o->ce);
+ #endif
+
+ RETURN_ZVAL(getThis(), 1, 0);