commit:     10a08d92e56b0d842e24f34a090389daf4f494fb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 09:21:39 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 15 09:21:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10a08d92

dev-perl/WWW-Curl: fix build w/ newer curl

Bug: https://github.com/szbalint/WWW--Curl/issues/29
Closes: https://bugs.gentoo.org/953406
Thanks-to: Mihai Donțu
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{WWW-Curl-4.170.0-r3.ebuild => WWW-Curl-4.170.0-r4.ebuild}       | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-perl/WWW-Curl/WWW-Curl-4.170.0-r3.ebuild 
b/dev-perl/WWW-Curl/WWW-Curl-4.170.0-r4.ebuild
similarity index 97%
rename from dev-perl/WWW-Curl/WWW-Curl-4.170.0-r3.ebuild
rename to dev-perl/WWW-Curl/WWW-Curl-4.170.0-r4.ebuild
index 50d12d05cde8..b9b9e3d4975c 100644
--- a/dev-perl/WWW-Curl/WWW-Curl-4.170.0-r3.ebuild
+++ b/dev-perl/WWW-Curl/WWW-Curl-4.170.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -20,7 +20,7 @@ BDEPEND="${RDEPEND}"
 # https://rt.cpan.org/Public/Bug/Display.html?id=145992
 SRC_URI+="
        
https://rt.cpan.org/Public/Ticket/Attachment/2423633/1093328/WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch
-       "
+"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-4.150.0-curl-7.50.2.patch
@@ -65,6 +65,7 @@ src_prepare() {
 # If you change this variable, you should probably be bumping the ebuild rev!
 export _CURL_BUILD_SYM_EXCLUDE='
 __000FORPATCH_WITH_LEADING_SPACE
+|^CURL_HAS_DECLSPEC_ATTRIBUTE\z
 |^CURL_DEPRECATED\z
 |^CURL_DID_MEMORY_FUNC_TYPEDEFS\z
 |^CURL_EXTERN

Reply via email to