public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-WWW-Curl] epel10: Adapt to new version of gcc
@ 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 : a5708598e7af93ff2282fbad48af675fea5d55b6
Author : Emmanuel Seyman <emmanuel@seyman.fr>
Date   : 2024-02-04T13:08:29+01:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-WWW-Curl/c/a5708598e7af93ff2282fbad48af675fea5d55b6?branch=epel10

Log:
Adapt to new version of gcc

---
diff --git a/WWW-Curl-4.17-BRC2259537.patch b/WWW-Curl-4.17-BRC2259537.patch
new file mode 100644
index 0000000..e64d1aa
--- /dev/null
+++ b/WWW-Curl-4.17-BRC2259537.patch
@@ -0,0 +1,12 @@
+diff -up ./Makefile.PL.orig ./Makefile.PL
+--- ./Makefile.PL.orig	2024-02-04 12:33:33.041145642 +0100
++++ ./Makefile.PL	2024-02-04 12:41:10.105758451 +0100
+@@ -127,7 +127,7 @@ if (!defined($curl_h)) {
+     close H;
+ 
+     for my $e (sort @syms) {
+-       if($e =~ /(OBSOLETE|^CURL_DEPRECATED\z|^CURL_EXTERN|^CURL_IGNORE_DEPRECATION\z|^CURL_STRICTER\z|^CURL_WIN32\z|^CURLOPT\z|^CURLOPTDEPRECATED\z|_LAST\z|_LASTENTRY\z)/) {
++       if($e =~ /(OBSOLETE|^CURL_DEPRECATED\z|^CURL_EXTERN|^CURL_IGNORE_DEPRECATION\z|^CURL_STRICTER\z|^CURL_WIN32\z|^CURLOPT\z|^CURLOPTDEPRECATED\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|CURLINC_CURL_H\z|_LAST\z|_LASTENTRY\z)/) {
+           next;
+        }
+        my ($group) = $e =~ m/^([^_]+_)/;

diff --git a/perl-WWW-Curl.spec b/perl-WWW-Curl.spec
index e5c9a12..13df124 100644
--- a/perl-WWW-Curl.spec
+++ b/perl-WWW-Curl.spec
@@ -1,6 +1,6 @@
 Name:           perl-WWW-Curl
 Version:        4.17
-Release:        37%{?dist}
+Release:        38%{?dist}
 Summary:        Perl extension interface for libcurl
 License:        MIT
 URL:            https://metacpan.org/release/WWW-Curl
@@ -16,6 +16,8 @@ Patch3:         WWW-Curl-4.17-Adapt-to-curl-7.87.0.patch
 Patch4:         WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch
 # Workound a bug in WWW::CURL 4.17, bug #2245689, GH #9
 Patch5:         WWW-Curl-4.17-add-back-CURLOPT_RESOLV-support.patch
+# Adapt to new version of gcc, bug #2259537
+Patch6:         WWW-Curl-4.17-BRC2259537.patch
 BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl-interpreter
@@ -74,6 +76,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sun Feb 04 2024 Emmanuel Seyman <emmanuel@seyman.fr> - 4.17-38
+- Adapt to new version of gcc (#2259537)
+
 * Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.17-37
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_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: Adapt to new version of gcc Emmanuel Seyman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox