diff options
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 + |