public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-WWW-Curl] epel10: Apply patch to make WWW::Curl work with curl 7.50.2 (with thanks to ppisar)
@ 2026-08-02 10:05 Emmanuel Seyman
0 siblings, 0 replies; only message in thread
From: Emmanuel Seyman @ 2026-08-02 10:05 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-WWW-Curl
Branch : epel10
Commit : c0f45db87c9b437b29270386529c9cacf7da957f
Author : Emmanuel Seyman <emmanuel@seyman.fr>
Date : 2016-09-18T13:29:28+02:00
Stats : +40/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-WWW-Curl/c/c0f45db87c9b437b29270386529c9cacf7da957f?branch=epel10
Log:
Apply patch to make WWW::Curl work with curl 7.50.2 (with thanks to ppisar)
---
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@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
+
diff --git a/perl-WWW-Curl.spec b/perl-WWW-Curl.spec
index 98099ce..ede0261 100644
--- a/perl-WWW-Curl.spec
+++ b/perl-WWW-Curl.spec
@@ -1,11 +1,12 @@
Name: perl-WWW-Curl
Version: 4.17
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Perl extension interface for libcurl
License: MIT
Group: Development/Libraries
URL: http://search.cpan.org/dist/WWW-Curl/
Source0: http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/WWW-Curl-%{version}.tar.gz
+Patch0: WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch
BuildRequires: perl
BuildRequires: perl-devel
BuildRequires: perl-generators
@@ -30,6 +31,7 @@ WWW::Curl is a Perl extension interface for libcurl.
%prep
%setup -q -n WWW-Curl-%{version}
+%patch0 -p1
rm -rf inc && sed -i -e '/^inc\//d' MANIFEST
%build
@@ -64,6 +66,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Sun Sep 18 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 4.17-9
+- Apply patch to make WWW::Curl work with curl 7.50.2 (#1375176, RT #117793)
+
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.17-8
- Perl 5.24 rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-02 10:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-02 10:05 [rpms/perl-WWW-Curl] epel10: Apply patch to make WWW::Curl work with curl 7.50.2 (with thanks to ppisar) Emmanuel Seyman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox