From 1925bda830dcaf0fea34c173f8b7f4727abaa291 Mon Sep 17 00:00:00 2001 From: Olivier Cochard Date: Tue, 29 Apr 2025 15:36:52 +0200 Subject: [PATCH] www/p5-WWW-Curl: Fix build on current PR: 286207 Reported by: David Wolfskill Approved by: sunpoet (maintainer) Obtained from: Stewart Morgan Sponsored by: Netflix --- www/p5-WWW-Curl/files/patch-Makefile.PL | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/p5-WWW-Curl/files/patch-Makefile.PL b/www/p5-WWW-Curl/files/patch-Makefile.PL index 50bb21ff8387..0ff3e172b795 100644 --- a/www/p5-WWW-Curl/files/patch-Makefile.PL +++ b/www/p5-WWW-Curl/files/patch-Makefile.PL @@ -1,6 +1,6 @@ --- Makefile.PL.orig 2014-02-21 16:08:09 UTC +++ Makefile.PL -@@ -100,6 +100,16 @@ if (!defined($curl_h)) { +@@ -100,6 +100,17 @@ if (!defined($curl_h)) { print "Found curl.h in $curl_h\n"; my @syms; my $has_cpp = 0; @@ -8,6 +8,7 @@ + CURL_DEPRECATED + CURL_DID_MEMORY_FUNC_TYPEDEFS + CURL_IGNORE_DEPRECATION ++ CURL_HAS_DECLSPEC_ATTRIBUTE + CURL_STRICTER + CURL_WIN32 + CURLINC_CURL_H @@ -17,7 +18,7 @@ open(H_IN, "-|", "cpp", $curl_h) and $has_cpp++; unless ($has_cpp) { warn "No working cpp ($!). Parsing curl.h in Perl"; -@@ -121,6 +131,7 @@ if (!defined($curl_h)) { +@@ -121,6 +132,7 @@ if (!defined($curl_h)) { open (H, "<", $curl_h) or die ("Cannot open $curl_h: ".$!); while() { if (/^#define (CURL[A-Za-z0-9_]*)/) {