b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 | --- 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/^([^_]+_)/; |