From 5a30a40d1003dad3cc3c339ca68d9874ba292e46 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 29 Sep 2023 13:34:17 +0200 Subject: update to 5.1.0 add dependency on pdo extension new coroutine_odbc enabled new coroutine_sqlite enabled new coroutine_oracle disabled --- swoole-php83.patch | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 swoole-php83.patch (limited to 'swoole-php83.patch') diff --git a/swoole-php83.patch b/swoole-php83.patch deleted file mode 100644 index 7075078..0000000 --- a/swoole-php83.patch +++ /dev/null @@ -1,27 +0,0 @@ -From db71b11de6facd0d35bacc156a2a8092bb216182 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?=E8=99=9E=E7=81=AA?= <995645888@qq.com> -Date: Sun, 23 Jul 2023 11:47:40 +0800 -Subject: [PATCH] The PHPAPI php_url_encode_hash_ex() function has had its - signature change (#5099) - ---- - ext-src/php_swoole_private.h | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/ext-src/php_swoole_private.h b/ext-src/php_swoole_private.h -index 8c9f26df65..571808bb8b 100644 ---- a/ext-src/php_swoole_private.h -+++ b/ext-src/php_swoole_private.h -@@ -957,7 +957,11 @@ static sw_inline char *php_swoole_url_encode(const char *value, size_t value_len - - static sw_inline char *php_swoole_http_build_query(zval *zdata, size_t *length, smart_str *formstr) { - if (HASH_OF(zdata)) { -- php_url_encode_hash_ex(HASH_OF(zdata), formstr, NULL, 0, NULL, 0, NULL, 0, NULL, NULL, (int) PHP_QUERY_RFC1738); -+ #if PHP_VERSION_ID < 80300 -+ php_url_encode_hash_ex(HASH_OF(zdata), formstr, NULL, 0, NULL, 0, NULL, 0, NULL, NULL, (int) PHP_QUERY_RFC1738); -+ #else -+ php_url_encode_hash_ex(HASH_OF(zdata), formstr, NULL, 0, NULL, NULL, NULL, (int) PHP_QUERY_RFC1738); -+ #endif - } else { - if (formstr->s) { - smart_str_free(formstr); -- cgit