Re: Re: php 7.{3,4}/git ext/curl builds FAIL with recent curl/libcurl 7.67+: "error: ‘CURLE_OBSOLETE20’ undeclared ...".
| From: | Christoph M. Becker | Date: | Fri, 15 Nov 2019 09:41:32 +0000 |
| Subject: | Re: Re: php 7.{3,4}/git ext/curl builds FAIL with recent curl/libcurl 7.67+: "error: ‘CURLE_OBSOLETE20’ undeclared ...". | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-107796@lists.php.net to get a copy of this message | ||
On 15.11.2019 at 10:01, Rowan Tommins wrote:
> On Fri, 15 Nov 2019 at 08:19, Christoph M. Becker <cmbecker69@gmx.de> wrote:
>
>> That appears to be due to a recent change in libcurl[1]. We'll have to
>> work around that, but I'm not sure how. Define both constants for BC?
>>
>> [1]
>> <https://github.com/curl/curl/blob/b3eb7d172aab6c7f423aea2f97c27099d6b65f7a/include/curl/curl.h#L504-L506>
>> It looks like last time this happened (value 16 reused for HTTP2), the
> removed constant was reintroduced in curl to avoid just this scenario:
> https://github.com/curl/curl/pull/106
>
> Perhaps a patch should be submitted to do the same thing again this time?
Ah, thanks! I've just submitted <https://github.com/curl/curl/pull/4601>.
--
Christoph M. Becker