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@gentoo.org>
This commit is contained in:
Sam James 2025-07-15 10:21:39 +01:00
parent d5f83d8dbe
commit 10a08d92e5
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -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