From 3e3650bc94948deaed8a2307dae0c623a87c268d Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Sat, 25 Feb 2023 21:57:21 +0000 Subject: [PATCH] curl: add lang/perl-www-curl/patches/230-curl_7.88_compat.patch * fixes compilation issues from https://github.com/openwrt/packages/pull/20540#issuecomment-1439537287 Signed-off-by: Stan Grishin --- lang/perl-www-curl/patches/230-curl_7.88_compat.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lang/perl-www-curl/patches/230-curl_7.88_compat.patch diff --git a/lang/perl-www-curl/patches/230-curl_7.88_compat.patch b/lang/perl-www-curl/patches/230-curl_7.88_compat.patch new file mode 100644 index 0000000000..58a6160835 --- /dev/null +++ b/lang/perl-www-curl/patches/230-curl_7.88_compat.patch @@ -0,0 +1,11 @@ +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -127,7 +127,7 @@ if (!defined($curl_h)) { + close H; + + for my $e (sort @syms) { +- if($e =~ /(OBSOLETE|^CURL_EXTERN|CURLOPT\z|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z|WIN32)/) { ++ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURLINC_|^CURL_WIN32\z|^CURL_DEPRECATED\z|^CURL_IGNORE_DEPRECATION\z|^CURLOPTDEPRECATED\z|^CURLOPT\z)/) { + next; + } + my ($group) = $e =~ m/^([^_]+_)/;