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] f44: take into account multi symbol change
Date: Sun, 31 May 2026 16:47:04 GMT	[thread overview]
Message-ID: <178024602458.1.2666703331706968867.rpms-perl-WWW-Curl-e93d3acfa732@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-WWW-Curl
Branch : f44
Commit : e93d3acfa732f06994ef5f5a2a7c3ba290a1ee83
Author : Emmanuel Seyman <emmanuel@seyman.fr>
Date   : 2026-05-31T18:46:54+02:00
Stats  : +74/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-WWW-Curl/c/e93d3acfa732f06994ef5f5a2a7c3ba290a1ee83?branch=f44

Log:
take into account multi symbol change

---
diff --git a/WWW-Curl-4.17-update-multi-support.patch b/WWW-Curl-4.17-update-multi-support.patch
new file mode 100644
index 0000000..a409003
--- /dev/null
+++ b/WWW-Curl-4.17-update-multi-support.patch
@@ -0,0 +1,68 @@
+diff -up ./Curl.xs.orig ./Curl.xs
+--- ./Curl.xs.orig	2026-05-31 17:26:50.203205706 +0200
++++ ./Curl.xs	2026-05-31 17:27:50.180661125 +0200
+@@ -18,6 +18,10 @@
+ #include <curl/easy.h>
+ #include <curl/multi.h>
+ 
++#if defined(__CURL_MULTI_H) && !defined(CURLINC_MULTI_H)
++#   define CURLINC_MULTI_H
++#endif
++
+ #define header_callback_func writeheader_callback_func
+ 
+ /* Do a favor for older perl versions */
+@@ -68,7 +72,7 @@ typedef struct {
+ 
+ 
+ typedef struct {
+-#ifdef __CURL_MULTI_H
++#ifdef CURLINC_MULTI_H
+     struct CURLM *curlm;
+ #else
+     void *curlm;
+@@ -230,7 +234,7 @@ static perl_curl_multi * perl_curl_multi
+ {
+     perl_curl_multi *self;
+     Newz(1, self, 1, perl_curl_multi);
+-#ifdef __CURL_MULTI_H
++#ifdef CURLINC_MULTI_H
+     self->curlm=curl_multi_init();
+ #else
+     croak("curl version too old to support curl_multi_init()");
+@@ -241,7 +245,7 @@ static perl_curl_multi * perl_curl_multi
+ /* delete the multi */
+ static void perl_curl_multi_delete(perl_curl_multi *self)
+ {
+-#ifdef __CURL_MULTI_H
++#ifdef CURLINC_MULTI_H
+     if (self->curlm) 
+         curl_multi_cleanup(self->curlm);
+     Safefree(self);
+@@ -1059,7 +1063,7 @@ curl_multi_add_handle(curlm, curl)
+     WWW::Curl::Multi curlm
+     WWW::Curl::Easy curl
+     CODE:
+-#ifdef __CURL_MULTI_H
++#ifdef CURLINC_MULTI_H
+         curl_multi_add_handle(curlm->curlm, curl->curl);
+ #endif
+ 
+@@ -1068,7 +1072,7 @@ curl_multi_remove_handle(curlm, curl)
+     WWW::Curl::Multi curlm
+     WWW::Curl::Easy curl
+     CODE:
+-#ifdef __CURL_MULTI_H
++#ifdef CURLINC_MULTI_H
+         curl_multi_remove_handle(curlm->curlm, curl->curl);
+ #endif
+ 
+@@ -1143,7 +1147,7 @@ curl_multi_perform(self)
+     PREINIT:
+         int remaining;
+     CODE:
+-#ifdef __CURL_MULTI_H
++#ifdef CURLINC_MULTI_H
+         while(CURLM_CALL_MULTI_PERFORM ==
+             curl_multi_perform(self->curlm, &remaining));
+ 	    RETVAL = remaining;

diff --git a/perl-WWW-Curl.spec b/perl-WWW-Curl.spec
index 58b66bf..4eca729 100644
--- a/perl-WWW-Curl.spec
+++ b/perl-WWW-Curl.spec
@@ -1,6 +1,6 @@
 Name:           perl-WWW-Curl
 Version:        4.17
-Release:        45%{?dist}
+Release:        46%{?dist}
 Summary:        Perl extension interface for libcurl
 License:        MIT
 URL:            https://metacpan.org/release/WWW-Curl
@@ -20,6 +20,8 @@ Patch5:         WWW-Curl-4.17-add-back-CURLOPT_RESOLV-support.patch
 Patch6:         WWW-Curl-4.17-BRC2259537.patch
 # Adapt to curl 8.13
 Patch7:         WWW-Curl-4.17-BRC2354525.patch
+# update multi symbol, bug #2482428, GH PR#24
+Patch8:         WWW-Curl-4.17-update-multi-support.patch
 BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl-interpreter
@@ -78,6 +80,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sun May 31 2026 Emmanuel Seyman <emmanuel@seyman.fr> - 4.17-46
+- Take into account multi symbol change (#2482428)
+
 * Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.17-45
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

                 reply	other threads:[~2026-05-31 16:47 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=178024602458.1.2666703331706968867.rpms-perl-WWW-Curl-e93d3acfa732@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