1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00

Fix build with curl 7.66.0 and unbreak this port

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-09-26 18:14:58 +00:00
parent c199fd7d22
commit c4299fad26
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512931
2 changed files with 1 additions and 3 deletions

View File

@ -14,8 +14,6 @@ COMMENT= Perl extension interface for libcurl
LICENSE= MIT
BROKEN= non-void function 'constant' should return a value
LIB_DEPENDS= libcurl.so:ftp/curl
TEST_DEPENDS= p5-Test-CPAN-Meta>=0:devel/p5-Test-CPAN-Meta \
p5-Test-Pod>=1.14:devel/p5-Test-Pod \

View File

@ -4,7 +4,7 @@
open (H, "<", $curl_h) or die ("Cannot open $curl_h: ".$!);
while(<H>) {
if (/^#define (CURL[A-Za-z0-9_]*)/) {
+ next if ($1 eq 'CURL_DID_MEMORY_FUNC_TYPEDEFS' || $1 eq 'CURL_STRICTER' );
+ next if ($1 eq 'CURL_DID_MEMORY_FUNC_TYPEDEFS' || $1 eq 'CURL_STRICTER' || $1 eq 'CURLINC_CURL_H' );
push @syms, $1;
}
}