diff options
author | Remi Collet <remi@remirepo.net> | 2021-07-26 14:39:34 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-07-26 14:39:34 +0200 |
commit | bfa9c98da9076718ea360b5f3e8342f6113f8b33 (patch) | |
tree | 475e74b4208b2f5a655af19db7bd9a93e9993e46 /ev-php5.patch | |
parent | 6e34591d0b56d55638d527ab03da3c4e0ba38dc9 (diff) |
update to 1.1.3
add patch for PHP 5 and ZTS (send upstream by email)
add patch for PHP 8.1.0beta1 (send upstream by email)
Diffstat (limited to 'ev-php5.patch')
-rw-r--r-- | ev-php5.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ev-php5.patch b/ev-php5.patch new file mode 100644 index 0000000..0f4583b --- /dev/null +++ b/ev-php5.patch @@ -0,0 +1,25 @@ +From 8296b29a380ce2767ef07a7ebb0ca5b5c37c1832 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +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 + |