]> git.pld-linux.org Git - packages/perl-WWW-Curl.git/commitdiff
- up to 4.17 auto/th/perl-WWW-Curl-4.17-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 28 Jun 2017 10:49:16 +0000 (12:49 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 28 Jun 2017 10:49:16 +0000 (12:49 +0200)
WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch [new file with mode: 0644]
perl-WWW-Curl.spec

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 (file)
index 0000000..34221c0
--- /dev/null
@@ -0,0 +1,34 @@
+From 0be0223422e6e5f4091c6e4e058d213623eed105 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@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@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
+
index c8b4c3fad69613b51e612e73889019b22d9f95f4..50e96681526e6337a6fff7c7f76408fa6ade27cd 100644 (file)
@@ -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 \
This page took 0.12819 seconds and 4 git commands to generate.