34221c0d20c79c70f230630e087b4f3fb2bbc2e8
[feed/packages.git] / lang / perl-www-curl / patches / 101-skip-preprocessor-symbol.path
1 From 0be0223422e6e5f4091c6e4e058d213623eed105 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
3 Date: Mon, 12 Sep 2016 14:40:44 +0200
4 Subject: [PATCH] Skip preprocessor symbol only CURL_STRICTER
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 CURL_STRICTER leaked into curl-constants.c when building against
10 curl-7.50.2. This is a preprocessor only macro without a value.
11
12 CPAN RT#117793
13
14 Signed-off-by: Petr Písař <ppisar@redhat.com>
15 ---
16 Makefile.PL | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 diff --git a/Makefile.PL b/Makefile.PL
20 index f9170bb..ad2bd3d 100644
21 --- a/Makefile.PL
22 +++ b/Makefile.PL
23 @@ -127,7 +127,7 @@ if (!defined($curl_h)) {
24 close H;
25
26 for my $e (sort @syms) {
27 - if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
28 + if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/) {
29 next;
30 }
31 my ($group) = $e =~ m/^([^_]+_)/;
32 --
33 2.7.4
34