From ee910449bf764d9f582e612c9b8b61b1d18e3a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 9 Apr 2020 14:31:05 +0200 Subject: [PATCH] Adapt to changes in cURL 7.69.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WIN32 macro was removed (1adebe7886ddf20b0733bf9ccbae4ed4866dcfb6) and then added under a CURL_WIN32 name (8bd863f97b6c79f561bc063e634cecdf4badf776). This a C preprocessor macro for driving the C compiler, not a cURL option. Thus this fix ignores it. CURLOPT(na,t,nu) macro was added (920deff8618a19ae80bd319851722f1b05751f69) as replacement for CINIT() macro. It's not a cURL option. This fix also ignores it. CPAN RT#132197 Signed-off-by: Petr Písař --- Makefile.PL.orig 2021-11-23 09:56:23.000000000 -0600 +++ Makefile.PL 2021-11-23 10:13:48.000000000 -0600 @@ -127,7 +127,7 @@ close H; for my $e (sort @syms) { - if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z|^CURLINC_)/) { + if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_WIN32\z|^CURLOPT\z|_LAST\z|_LASTENTRY\z|^CURLINC_)/) { next; } my ($group) = $e =~ m/^([^_]+_)/;