diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-08-18 17:32:49 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-08-18 17:32:49 +0200 |
commit | c8f347b6e2a1437c5d8315c65f4e6ea975d858e4 (patch) | |
tree | fe8d69b43c2c4ceac4d191b4044c6961797a6c03 /php-pecl-parsekit-1.3-php56-variadic-fix.patch | |
parent | ae12d4aa65d934e3caec347ed803dfd3f27aba40 (diff) |
php-pecl-parsekit: patch for php 5.6 (backport)
Diffstat (limited to 'php-pecl-parsekit-1.3-php56-variadic-fix.patch')
-rw-r--r-- | php-pecl-parsekit-1.3-php56-variadic-fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/php-pecl-parsekit-1.3-php56-variadic-fix.patch b/php-pecl-parsekit-1.3-php56-variadic-fix.patch new file mode 100644 index 0000000..6a8a7d6 --- /dev/null +++ b/php-pecl-parsekit-1.3-php56-variadic-fix.patch @@ -0,0 +1,12 @@ +diff -Naur php-pecl-parsekit-1.3.0.orig/parsekit-1.3.0/parsekit.c php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c +--- php-pecl-parsekit-1.3.0.orig/parsekit-1.3.0/parsekit.c 2014-08-16 21:55:32.000000000 +0400 ++++ php-pecl-parsekit-1.3.0/parsekit-1.3.0/parsekit.c 2014-08-18 12:50:05.377165855 +0400 +@@ -300,7 +300,7 @@ + } + add_assoc_long(return_value, "num_args", ops->num_args); + add_assoc_long(return_value, "required_num_args", ops->required_num_args); +- add_assoc_bool(return_value, "pass_rest_by_reference", ops->fn_flags & ZEND_ACC_PASS_REST_BY_REFERENCE); ++ add_assoc_bool(return_value, "pass_rest_by_reference", ops->fn_flags & ZEND_ACC_VARIADIC); + + if (ops->num_args && ops->arg_info) { + MAKE_STD_ZVAL(tmpzval); |