From 18f1264dedeca03acd985ef8298aeec5150daea6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Jul 2021 17:10:50 +0200 Subject: update to 1.1.4 drop patches merged upstream --- PHPINFO | 2 +- REFLECTION | 2 +- ev-php5.patch | 25 ------------------------- ev-php81.patch | 42 ------------------------------------------ php-pecl-ev.spec | 12 +++++------- 5 files changed, 7 insertions(+), 76 deletions(-) delete mode 100644 ev-php5.patch delete mode 100644 ev-php81.patch diff --git a/PHPINFO b/PHPINFO index f97c1ac..ae17100 100644 --- a/PHPINFO +++ b/PHPINFO @@ -3,4 +3,4 @@ ev Ev support => enabled Debug support => disabled -Version => 1.1.3 +Version => 1.1.4 diff --git a/REFLECTION b/REFLECTION index 607a4e3..6445e53 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #122 ev version 1.1.3 ] { +Extension [ extension #122 ev version 1.1.4 ] { - Dependencies { Dependency [ sockets (Optional) ] diff --git a/ev-php5.patch b/ev-php5.patch deleted file mode 100644 index 0f4583b..0000000 --- a/ev-php5.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 8296b29a380ce2767ef07a7ebb0ca5b5c37c1832 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Mon, 26 Jul 2021 14:21:22 +0200 -Subject: [PATCH 2/2] Fix PHP 5 and ZTS build - ---- - php5/watcher.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/php5/watcher.c b/php5/watcher.c -index 9ff4d78..a5a2918 100644 ---- a/php5/watcher.c -+++ b/php5/watcher.c -@@ -73,7 +73,7 @@ void php_ev_watcher_callback(EV_P_ ev_watcher *watcher, int revents) - php_error_docref(NULL, E_WARNING, - "Stopping %s watcher because of uncaught exception in the callback", - Z_OBJCE_P(self)->name); -- php_ev_stop_watcher(watcher); -+ php_ev_stop_watcher(watcher TSRMLS_CC); - } - - zval_ptr_dtor(&self); --- -2.31.1 - diff --git a/ev-php81.patch b/ev-php81.patch deleted file mode 100644 index b9f9657..0000000 --- a/ev-php81.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 5550acb75a6f567f5a4a612f442ccde237198a33 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Mon, 26 Jul 2021 14:11:12 +0200 -Subject: [PATCH] fix tests for PHP 8.1.0beta1 - ---- - tests/12_watcher_leak.phpt | 4 ++-- - tests/bug33.phpt | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/tests/12_watcher_leak.phpt b/tests/12_watcher_leak.phpt -index 4b08da3..9d34ee6 100644 ---- a/tests/12_watcher_leak.phpt -+++ b/tests/12_watcher_leak.phpt -@@ -1,9 +1,9 @@ - --TEST-- - Check for EvWatcher object destructors(leaks) -+--INI-- -+memory_limit=2M - --FILE-- - - 1.1.4-1 +- update to 1.1.4 +- drop patches merged upstream + * Mon Jul 26 2021 Remi Collet - 1.1.3-1 - update to 1.1.3 - add patch for PHP 5 and ZTS (send upstream by email) -- cgit