From a967ec1ab12f53031cf393684b2faa888afd68b6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 26 Jun 2018 17:50:42 +0200 Subject: add upstream patches for PHP 7.3 --- 512f733beac73f37ba4acbcf730ebc6c6de849b6.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 512f733beac73f37ba4acbcf730ebc6c6de849b6.patch (limited to '512f733beac73f37ba4acbcf730ebc6c6de849b6.patch') diff --git a/512f733beac73f37ba4acbcf730ebc6c6de849b6.patch b/512f733beac73f37ba4acbcf730ebc6c6de849b6.patch new file mode 100644 index 0000000..44282d0 --- /dev/null +++ b/512f733beac73f37ba4acbcf730ebc6c6de849b6.patch @@ -0,0 +1,24 @@ +From 512f733beac73f37ba4acbcf730ebc6c6de849b6 Mon Sep 17 00:00:00 2001 +From: Michael Wallner +Date: Tue, 26 Jun 2018 15:40:28 +0200 +Subject: [PATCH] attempt to fix #78 + +PHP-7.3 build fails on x86 due to change of the calling convention of +the zif_handler +--- + src/php_http_client_curl_user.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/php_http_client_curl_user.c b/src/php_http_client_curl_user.c +index d44f3da..1f69a51 100644 +--- a/src/php_http_client_curl_user.c ++++ b/src/php_http_client_curl_user.c +@@ -22,7 +22,7 @@ typedef struct php_http_client_curl_user_ev { + php_http_client_curl_user_context_t *context; + } php_http_client_curl_user_ev_t; + +-static void php_http_client_curl_user_handler(INTERNAL_FUNCTION_PARAMETERS) ++static ZEND_NAMED_FUNCTION(php_http_client_curl_user_handler) + { + zval *zstream = NULL, *zclient = NULL; + php_stream *stream = NULL; -- cgit