101-skip-preprocessor-symbol.path 1015 B

12345678910111213141516171819202122232425262728293031323334
  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. CURL_STRICTER leaked into curl-constants.c when building against
  9. curl-7.50.2. This is a preprocessor only macro without a value.
  10. CPAN RT#117793
  11. Signed-off-by: Petr Písař <ppisar@redhat.com>
  12. ---
  13. Makefile.PL | 2 +-
  14. 1 file changed, 1 insertion(+), 1 deletion(-)
  15. diff --git a/Makefile.PL b/Makefile.PL
  16. index f9170bb..ad2bd3d 100644
  17. --- a/Makefile.PL
  18. +++ b/Makefile.PL
  19. @@ -127,7 +127,7 @@ if (!defined($curl_h)) {
  20. close H;
  21. for my $e (sort @syms) {
  22. - if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
  23. + if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/) {
  24. next;
  25. }
  26. my ($group) = $e =~ m/^([^_]+_)/;
  27. --
  28. 2.7.4