public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-WWW-Curl] epel10: Adapt to changes in cURL 7.69.0
Date: Sun, 02 Aug 2026 10:05:15 GMT	[thread overview]
Message-ID: <178566511501.1.15339798926659882715.rpms-perl-WWW-Curl-f7a8a25520cd@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-WWW-Curl
Branch : epel10
Commit : f7a8a25520cd6d6b496aedab32716e3b61bd286a
Author : Petr Písař <ppisar@redhat.com>
Date   : 2020-04-09T14:56:17+02:00
Stats  : +48/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-WWW-Curl/c/f7a8a25520cd6d6b496aedab32716e3b61bd286a?branch=epel10

Log:
Adapt to changes in cURL 7.69.0

---
diff --git a/WWW-Curl-4.17-Adapt-to-changes-in-cURL-7.69.0.patch b/WWW-Curl-4.17-Adapt-to-changes-in-cURL-7.69.0.patch
new file mode 100644
index 0000000..3d6829b
--- /dev/null
+++ b/WWW-Curl-4.17-Adapt-to-changes-in-cURL-7.69.0.patch
@@ -0,0 +1,41 @@
+From ee910449bf764d9f582e612c9b8b61b1d18e3a7c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Thu, 9 Apr 2020 14:31:05 +0200
+Subject: [PATCH] Adapt to changes in cURL 7.69.0
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+WIN32 macro was removed (1adebe7886ddf20b0733bf9ccbae4ed4866dcfb6) and
+then added under a CURL_WIN32 name
+(8bd863f97b6c79f561bc063e634cecdf4badf776). This a C preprocessor
+macro for driving the C compiler, not a cURL  option. Thus this fix
+ignores it.
+
+CURLOPT(na,t,nu) macro was added
+(920deff8618a19ae80bd319851722f1b05751f69) as replacement for CINIT()
+macro. It's not a cURL option. This fix also ignores it.
+
+CPAN RT#132197
+
+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 ad2bd3d..b9e6a46 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|^CURL_STRICTER\z|_LAST\z|_LASTENTRY\z)/) {
++       if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_WIN32\z|^CURLOPT\z|_LAST\z|_LASTENTRY\z)/) {
+           next;
+        }
+        my ($group) = $e =~ m/^([^_]+_)/;
+-- 
+2.21.1
+

diff --git a/perl-WWW-Curl.spec b/perl-WWW-Curl.spec
index b617711..f86b3b1 100644
--- a/perl-WWW-Curl.spec
+++ b/perl-WWW-Curl.spec
@@ -1,6 +1,6 @@
 Name:           perl-WWW-Curl
 Version:        4.17
-Release:        22%{?dist}
+Release:        23%{?dist}
 Summary:        Perl extension interface for libcurl
 License:        MIT
 URL:            https://metacpan.org/release/WWW-Curl
@@ -8,6 +8,8 @@ Source0:        https://cpan.metacpan.org/authors/id/S/SZ/SZBALINT/WWW-Curl-%{ve
 Patch0:         WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch
 # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941915
 Patch1:         WWW-Curl-4.17-define-CURL-as-void.patch
+# Adapt to changes in cURL 7.69.0, bug #1812910, CPAN RT#132197
+Patch2:         WWW-Curl-4.17-Adapt-to-changes-in-cURL-7.69.0.patch
 BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl-interpreter
@@ -36,6 +38,7 @@ WWW::Curl is a Perl extension interface for libcurl.
 %setup -q -n WWW-Curl-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 rm -rf inc && sed -i -e '/^inc\//d' MANIFEST
 
 %build
@@ -69,6 +72,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Apr 09 2020 Petr Pisar <ppisar@redhat.com> - 4.17-23
+- Adapt to changes in cURL 7.69.0 (bug #1812910)
+
 * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.17-22
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_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=178566511501.1.15339798926659882715.rpms-perl-WWW-Curl-f7a8a25520cd@fedoraproject.org \
    --to=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