diff options
author | Remi Collet <remi@remirepo.net> | 2018-08-16 13:08:36 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-08-16 13:08:36 +0200 |
commit | 665feb7f56ce75a04e186ff39b66b4ff63f4d495 (patch) | |
tree | 0a2c10bee97bff600d47de02160d8fc500075bc2 /14.patch | |
parent | c166809cec6fd0d35e6df70c4bd81d207b84bfeb (diff) |
rebuild for 7.3.0beta2 new ABI
add patch for PHP 7.3 from https://github.com/pmjones/ext-request/pull/14
Diffstat (limited to '14.patch')
-rw-r--r-- | 14.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/14.patch b/14.patch new file mode 100644 index 0000000..e59f81d --- /dev/null +++ b/14.patch @@ -0,0 +1,25 @@ +From 96477c166d10062f43c4a500d8c94b09b0c3db3a Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Thu, 16 Aug 2018 13:03:35 +0200 +Subject: [PATCH] fix for 7.3.0beta + +--- + serverresponse.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/serverresponse.c b/serverresponse.c +index e2b3f04..734ff5b 100644 +--- a/serverresponse.c ++++ b/serverresponse.c +@@ -1031,7 +1031,11 @@ static inline void send_cookie(zend_string *name, zval *arr) + raw = zval_is_true(tmp); + } + ++#if PHP_VERSION_ID < 70300 + php_setcookie(name, value, expires, path, domain, secure, !raw, httponly); ++#else ++ php_setcookie(name, value, expires, path, domain, secure, httponly, NULL, !raw); ++#endif + } + + PHP_METHOD(ServerResponse, sendCookies) |