public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Emmanuel Seyman <emmanuel@seyman.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-WWW-Curl] epel10: Apply patch to make WWW::Curl work with curl 7.50.2 (with thanks to ppisar)
Date: Sun, 02 Aug 2026 10:05:06 GMT	[thread overview]
Message-ID: <178566510642.1.3147411111973905378.rpms-perl-WWW-Curl-c0f45db87c9b@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-08-02 10:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178566510642.1.3147411111973905378.rpms-perl-WWW-Curl-c0f45db87c9b@fedoraproject.org \
    --to=emmanuel@seyman.fr \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox