fix build with curl >=7.50.2 as suggested by ppisar@redhat.com

This commit is contained in:
naddy 2016-09-17 23:14:03 +00:00
parent f47901e0b3
commit 8a8d470229

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-Makefile_PL,v 1.1 2016/09/17 23:14:03 naddy Exp $
https://rt.cpan.org/Public/Bug/Display.html?id=117793
--- Makefile.PL.orig Fri Feb 21 17:08:09 2014
+++ Makefile.PL Sun Sep 18 01:01:55 2016
@@ -127,7 +127,7 @@ if (!defined($curl_h)) {
close H;
for my $e (sort @syms) {
- if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
+ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/) {
next;
}
my ($group) = $e =~ m/^([^_]+_)/;