From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1349244-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 9F36E158086
	for <garchives@archives.gentoo.org>; Tue, 14 Dec 2021 06:44:45 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E906E2BC009;
	Tue, 14 Dec 2021 06:44:42 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id BB7DF2BC006
	for <gentoo-commits@lists.gentoo.org>; Tue, 14 Dec 2021 06:44:41 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 2E6673433CC
	for <gentoo-commits@lists.gentoo.org>; Tue, 14 Dec 2021 06:44:37 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D4C5A5
	for <gentoo-commits@lists.gentoo.org>; Tue, 14 Dec 2021 06:44:35 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1639464127.7806a56fa19fc06e8b9cdd33c9e47df9e1a0077a.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/XML-Parser/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-perl/XML-Parser/XML-Parser-2.460.0-r1.ebuild dev-perl/XML-Parser/XML-Parser-2.460.0-r2.ebuild
X-VCS-Directories: dev-perl/XML-Parser/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 7806a56fa19fc06e8b9cdd33c9e47df9e1a0077a
X-VCS-Branch: master
Date: Tue, 14 Dec 2021 06:44:35 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 0707a184-7fb4-438d-bdec-58d6001e0acf
X-Archives-Hash: 0b2233556eb75d511952b5a065dbc34b

commit:     7806a56fa19fc06e8b9cdd33c9e47df9e1a0077a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 14 06:40:50 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 14 06:42:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7806a56f

dev-perl/XML-Parser: use system copy of Devel::CheckLib (fix Expat search)

The bundled, rather old copy of Devel::CheckLib seems to sometimes cause
errors when trying to find Expat.

Bug: https://github.com/toddr/XML-Parser/issues/93
Bug: https://bugs.gentoo.org/827966
Bug: https://github.com/toddr/XML-Parser/issues/86
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...-Parser-2.460.0-r1.ebuild => XML-Parser-2.460.0-r2.ebuild} | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-perl/XML-Parser/XML-Parser-2.460.0-r1.ebuild b/dev-perl/XML-Parser/XML-Parser-2.460.0-r2.ebuild
similarity index 83%
rename from dev-perl/XML-Parser/XML-Parser-2.460.0-r1.ebuild
rename to dev-perl/XML-Parser/XML-Parser-2.460.0-r2.ebuild
index 674a1ddb048e..0e7e8c4930ae 100644
--- a/dev-perl/XML-Parser/XML-Parser-2.460.0-r1.ebuild
+++ b/dev-perl/XML-Parser/XML-Parser-2.460.0-r2.ebuild
@@ -18,7 +18,16 @@ RDEPEND="
 	dev-perl/libwww-perl
 "
 DEPEND="${RDEPEND}"
-BDEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}
+	dev-perl/Devel-CheckLib"
+
+src_prepare() {
+	default
+
+	# Drop bundled CheckLib which breaks Expat detection
+	# bug #827966
+	rm inc/Devel/CheckLib.pm || die
+}
 
 src_configure() {
 	myconf="EXPATLIBPATH=${EPREFIX}/usr/$(get_libdir) EXPATINCPATH=${EPREFIX}/usr/include"