[packages/perl-WWW-Curl] - up to 4.17
arekm
arekm at pld-linux.org
Wed Jun 28 12:49:22 CEST 2017
commit 5bed86b06c9e491930ef8fe57e6f1b87e3250184
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Jun 28 12:49:16 2017 +0200
- up to 4.17
...ip-preprocessor-symbol-only-CURL_STRICTER.patch | 34 ++++++++++++++++++++++
perl-WWW-Curl.spec | 9 ++++--
2 files changed, 40 insertions(+), 3 deletions(-)
---
diff --git a/perl-WWW-Curl.spec b/perl-WWW-Curl.spec
index c8b4c3f..50e9668 100644
--- a/perl-WWW-Curl.spec
+++ b/perl-WWW-Curl.spec
@@ -8,15 +8,17 @@
Summary: WWW::Curl::easy - Perl extension interface for libcurl
Summary(pl.UTF-8): WWW::Curl::easy - interfejs perlowy do biblioteki libcurl
Name: perl-WWW-Curl
-Version: 4.15
-Release: 9
+Version: 4.17
+Release: 1
License: MPL or MIT/X
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-authors/id/S/SZ/SZBALINT/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 31c0b8c7e5e2d26bcc8213d702186d5f
+# Source0-md5: 997ac81cd6b03b30b36f7cd930474845
+Patch0: WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch
URL: http://curl.haxx.se/libcurl/perl/
BuildRequires: curl-devel
BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: perl-Module-Install
BuildRequires: rpm-perlprov >= 4.1-13
Obsoletes: perl-Curl-easy
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -38,6 +40,7 @@ nazewnictwa.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \
diff --git a/WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch b/WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch
new file mode 100644
index 0000000..34221c0
--- /dev/null
+++ b/WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch
@@ -0,0 +1,34 @@
+From 0be0223422e6e5f4091c6e4e058d213623eed105 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+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ř <ppisar at redhat.com>
+---
+ Makefile.PL | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index f9170bb..ad2bd3d 100644
+--- a/Makefile.PL
++++ b/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
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-WWW-Curl.git/commitdiff/5bed86b06c9e491930ef8fe57e6f1b87e3250184
More information about the pld-cvs-commit
mailing list