diff options
author | Remi Collet <remi@remirepo.net> | 2017-06-27 16:02:50 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-06-27 16:02:50 +0200 |
commit | ddb3fa2e9d6f2a91b746d803e98118738b9dcac5 (patch) | |
tree | a4e01ef7b7d1f9003167f81ec881f7b220034099 | |
parent | 7bbf472395d60780920da7565138e67d6890e5ce (diff) |
v0.2.2
-rw-r--r-- | 20869861c8a706efec921b0ae18c78a3c12cd1f0.patch | 31 | ||||
-rw-r--r-- | REFLECTION | 8 | ||||
-rw-r--r-- | php-pecl-uv.spec | 10 |
3 files changed, 12 insertions, 37 deletions
diff --git a/20869861c8a706efec921b0ae18c78a3c12cd1f0.patch b/20869861c8a706efec921b0ae18c78a3c12cd1f0.patch deleted file mode 100644 index 95ef807..0000000 --- a/20869861c8a706efec921b0ae18c78a3c12cd1f0.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 20869861c8a706efec921b0ae18c78a3c12cd1f0 Mon Sep 17 00:00:00 2001 -From: Bob Weinand <bobwei9@hotmail.com> -Date: Fri, 16 Jun 2017 16:30:36 +0200 -Subject: [PATCH] Fix 7.2 build - ---- - php_uv.c | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/php_uv.c b/php_uv.c -index 6a41b49..8558bed 100644 ---- a/php_uv.c -+++ b/php_uv.c -@@ -52,10 +52,16 @@ ZEND_DECLARE_MODULE_GLOBALS(uv); - #define uv_zend_wrong_parameter_class_error(...) zend_wrong_parameter_class_error(__VA_ARGS__) - #endif - -+#if PHP_VERSION_ID < 70200 -+ #define UV_PARAM_PROLOGUE Z_PARAM_PROLOGUE(0) -+#else -+ #define UV_PARAM_PROLOGUE Z_PARAM_PROLOGUE(0, 0) -+#endif -+ - #define UV_PARAM_OBJ_EX(dest, type, check_null, ce, ...) \ - { \ - zval *zv; \ -- Z_PARAM_PROLOGUE(0) \ -+ UV_PARAM_PROLOGUE \ - if (UNEXPECTED(!uv_parse_arg_object(_arg, &zv, check_null, ce, ##__VA_ARGS__, NULL))) { \ - if (!(_flags & ZEND_PARSE_PARAMS_QUIET)) { \ - zend_string *names = php_uv_concat_ce_names(ce, ##__VA_ARGS__, NULL); \ @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #146 uv version 0.2.1 ] { +Extension [ <persistent> extension #147 uv version 0.2.2 ] { - Functions { Function [ <internal:uv> function uv_update_time ] { @@ -142,6 +142,12 @@ Extension [ <persistent> extension #146 uv version 0.2.1 ] { Parameter #0 [ <required> $handle ] } } + Function [ <internal:uv> function uv_is_closing ] { + + - Parameters [1] { + Parameter #0 [ <required> $handle ] + } + } Function [ <internal:uv> function uv_is_readable ] { - Parameters [1] { diff --git a/php-pecl-uv.spec b/php-pecl-uv.spec index 038af04..7091a8c 100644 --- a/php-pecl-uv.spec +++ b/php-pecl-uv.spec @@ -18,15 +18,13 @@ Summary: Libuv wrapper Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 0.2.1 -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Version: 0.2.2 +Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz -Patch0: 20869861c8a706efec921b0ae18c78a3c12cd1f0.patch - BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear BuildRequires: pkgconfig(libuv) >= 1.0.0 @@ -83,7 +81,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -%patch0 -p1 -b .upstream # Sanity check, really often broken extver=$(sed -n '/define PHP_UV_VERSION/{s/.* "//;s/".*$//;p}' php_uv.h) @@ -229,6 +226,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Tue Jun 27 2017 Remi Collet <remi@remirepo.net> - 0.2.2-1 +- Update to 0.2.2 + * Wed Jun 21 2017 Remi Collet <remi@remirepo.net> - 0.2.1-2 - rebuild for 7.2.0alpha2 |