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