From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F295015808D for ; Sat, 23 Apr 2022 00:28:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC153E0830; Sat, 23 Apr 2022 00:27:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 0A962E0830 for ; Sat, 23 Apr 2022 00:27:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 8AEAA341972 for ; Sat, 23 Apr 2022 00:27:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC62635A for ; Sat, 23 Apr 2022 00:27:54 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1650673647.1962521dfb13aae2f73a0fddaba1c0a68e5b5670.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxml2/files/, dev-libs/libxml2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libxml2/files/libxml2-2.9.13-testapi-missing-xml.patch dev-libs/libxml2/libxml2-2.9.13-r1.ebuild X-VCS-Directories: dev-libs/libxml2/ dev-libs/libxml2/files/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 1962521dfb13aae2f73a0fddaba1c0a68e5b5670 X-VCS-Branch: master Date: Sat, 23 Apr 2022 00:27:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f071c9af-d9be-456a-ba9f-963138d3b0bd X-Archives-Hash: 5fabc68446c6035f83a68a16a7368fd2 commit: 1962521dfb13aae2f73a0fddaba1c0a68e5b5670 Author: Mike Gilbert gentoo org> AuthorDate: Sat Apr 23 00:27:27 2022 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat Apr 23 00:27:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1962521d dev-libs/libxml2: avoid creating /missing.xml in tests Closes: https://bugs.gentoo.org/839804 Signed-off-by: Mike Gilbert gentoo.org> .../files/libxml2-2.9.13-testapi-missing-xml.patch | 28 ++++++++++++++++++++++ dev-libs/libxml2/libxml2-2.9.13-r1.ebuild | 3 +++ 2 files changed, 31 insertions(+) diff --git a/dev-libs/libxml2/files/libxml2-2.9.13-testapi-missing-xml.patch b/dev-libs/libxml2/files/libxml2-2.9.13-testapi-missing-xml.patch new file mode 100644 index 000000000000..adbb3db72a5a --- /dev/null +++ b/dev-libs/libxml2/files/libxml2-2.9.13-testapi-missing-xml.patch @@ -0,0 +1,28 @@ +From b31e07dbf40c3998dd466829e818f5870296272d Mon Sep 17 00:00:00 2001 +From: Mike Gilbert +Date: Fri, 22 Apr 2022 20:14:05 -0400 +Subject: [PATCH] testapi: remove leading slash from "/missing.xml" + +Fixes an error when running tests in a sandbox on Gentoo Linux. + +Bug: https://bugs.gentoo.org/839804 +--- + testapi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/testapi.c b/testapi.c +index d4258c43..c7a5b163 100644 +--- a/testapi.c ++++ b/testapi.c +@@ -442,7 +442,7 @@ static void des_eaten_name(int no ATTRIBUTE_UNUSED, xmlChar *val ATTRIBUTE_UNUSE + #define gen_nb_fileoutput 6 + + static const char *gen_fileoutput(int no, int nr ATTRIBUTE_UNUSED) { +- if (no == 0) return("/missing.xml"); ++ if (no == 0) return("missing.xml"); + if (no == 1) return(""); + if (no == 2) return(REMOTE2GOOD); + if (no == 3) return(REMOTE1GOOD); +-- +2.35.1 + diff --git a/dev-libs/libxml2/libxml2-2.9.13-r1.ebuild b/dev-libs/libxml2/libxml2-2.9.13-r1.ebuild index 3378e7fad44d..82dfa95b7b2f 100644 --- a/dev-libs/libxml2/libxml2-2.9.13-r1.ebuild +++ b/dev-libs/libxml2/libxml2-2.9.13-r1.ebuild @@ -77,6 +77,9 @@ PATCHES=( # Don't bother copying Python's libraries (bug #798942) "${WORKDIR}"/${PN}-2.9.12-dont-copy-python-ldflags.patch + + # https://bugs.gentoo.org/839804 + "${FILESDIR}"/libxml2-2.9.13-testapi-missing-xml.patch ) src_unpack() {