aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Curl/files/patch-Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-WWW-Curl/files/patch-Makefile.PL')
-rw-r--r--www/p5-WWW-Curl/files/patch-Makefile.PL10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/p5-WWW-Curl/files/patch-Makefile.PL b/www/p5-WWW-Curl/files/patch-Makefile.PL
index 9d1115ce54ea..93d9de7d38e9 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
-@@ -121,6 +121,7 @@ if (!defined($curl_h)) {
+@@ -121,13 +121,14 @@ if (!defined($curl_h)) {
open (H, "<", $curl_h) or die ("Cannot open $curl_h: ".$!);
while(<H>) {
if (/^#define (CURL[A-Za-z0-9_]*)/) {
@@ -8,3 +8,11 @@
push @syms, $1;
}
}
+ close H;
+
+ for my $e (sort @syms) {
+- if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
++ if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z|^CURLINC_)/) {
+ next;
+ }
+ my ($group) = $e =~ m/^([^_]+_)/;