From f2e98d434ac4808489590cf60f6de28c493378a6 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 28 Sep 2016 16:14:33 +0200 Subject: [PATCH] perl-WWW-Curl: fix for CPAN RT#117793. --- .../perl-WWW-Curl/patches/CURL_STRICTER.patch | 32 +++++++++++++++++++ srcpkgs/perl-WWW-Curl/template | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/perl-WWW-Curl/patches/CURL_STRICTER.patch diff --git a/srcpkgs/perl-WWW-Curl/patches/CURL_STRICTER.patch b/srcpkgs/perl-WWW-Curl/patches/CURL_STRICTER.patch new file mode 100644 index 00000000000..3220b248877 --- /dev/null +++ b/srcpkgs/perl-WWW-Curl/patches/CURL_STRICTER.patch @@ -0,0 +1,32 @@ +From 0be0223422e6e5f4091c6e4e058d213623eed105 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Mon, 12 Sep 2016 14:40:44 +0200 +Subject: [PATCH] Skip preprocessor symbol only CURL_STRICTER +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +CURL_STRICTER leaked into curl-constants.c when building against +curl-7.50.2. This is a preprocessor only macro without a value. + +CPAN RT#117793 + +Signed-off-by: Petr Písař +--- + Makefile.PL | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- Makefile.PL ++++ Makefile.PL +@@ -127,7 +127,7 @@ if (!defined($curl_h)) { + close H; + + for my $e (sort @syms) { +- if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) { ++ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/) { + next; + } + my ($group) = $e =~ m/^([^_]+_)/; +-- +2.7.4 + diff --git a/srcpkgs/perl-WWW-Curl/template b/srcpkgs/perl-WWW-Curl/template index 7340f73076d..3ffe8f39945 100644 --- a/srcpkgs/perl-WWW-Curl/template +++ b/srcpkgs/perl-WWW-Curl/template @@ -1,7 +1,7 @@ # Template build file for 'perl-WWW-Curl'. pkgname=perl-WWW-Curl version=4.17 -revision=4 +revision=5 wrksrc="WWW-Curl-${version}" build_style=perl-module hostmakedepends="perl"