summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-06-21 11:40:12 +0200
committerDavid Seifert <soap@gentoo.org>2022-06-21 11:40:12 +0200
commita5ce50b4b15d36bffc61e10949629bf000f4c052 (patch)
tree8bad32964feac26b44f161aeb689ca05ff2cf007 /dev-libs/libxml2
parentdev-libs/libxml2: drop 2.9.13-r1 (diff)
downloadgentoo-a5ce50b4b15d36bffc61e10949629bf000f4c052.tar.gz
gentoo-a5ce50b4b15d36bffc61e10949629bf000f4c052.tar.bz2
gentoo-a5ce50b4b15d36bffc61e10949629bf000f4c052.zip
dev-libs/libxml2: fix live ebuild
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/libxml2')
-rw-r--r--dev-libs/libxml2/files/libxml2-2.9.8-out-of-tree-test.patch31
-rw-r--r--dev-libs/libxml2/libxml2-9999.ebuild4
2 files changed, 0 insertions, 35 deletions
diff --git a/dev-libs/libxml2/files/libxml2-2.9.8-out-of-tree-test.patch b/dev-libs/libxml2/files/libxml2-2.9.8-out-of-tree-test.patch
deleted file mode 100644
index 468214d0bd8b..000000000000
--- a/dev-libs/libxml2/files/libxml2-2.9.8-out-of-tree-test.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-https://gitlab.gnome.org/GNOME/libxml2/merge_requests/14
-
-From 54878c018af979b20ca1bfbf12599973484cae5b Mon Sep 17 00:00:00 2001
-From: Mike Frysinger <vapier@gentoo.org>
-Date: Thu, 3 Jan 2019 05:44:03 -0500
-Subject: [PATCH] fix reader5.py test when building out of tree
-
-When building out of tree, the relative path this test uses doesn't
-work. Resolve the path relative to the test script itself instead.
-
-Url: https://bugs.gentoo.org/565576
---- a/python/tests/reader5.py
-+++ b/python/tests/reader5.py
-@@ -4,6 +4,7 @@
- # this extract the Dragon bibliography entries from the XML specification
- #
- import libxml2
-+import os
- import sys
-
- # Memory debug specific
-@@ -14,7 +15,8 @@ Ravi Sethi, and Jeffrey D. Ullman.
- <emph>Compilers: Principles, Techniques, and Tools</emph>.
- Reading: Addison-Wesley, 1986, rpt. corr. 1988.</bibl>"""
-
--f = open('../../test/valid/REC-xml-19980210.xml', 'rb')
-+basedir = os.path.dirname(os.path.realpath(__file__))
-+f = open(os.path.join(basedir, '../../test/valid/REC-xml-19980210.xml'), 'rb')
- input = libxml2.inputBuffer(f)
- reader = input.newTextReader("REC")
- res=""
diff --git a/dev-libs/libxml2/libxml2-9999.ebuild b/dev-libs/libxml2/libxml2-9999.ebuild
index 72a837d7e586..d651157658dc 100644
--- a/dev-libs/libxml2/libxml2-9999.ebuild
+++ b/dev-libs/libxml2/libxml2-9999.ebuild
@@ -58,10 +58,6 @@ MULTILIB_CHOST_TOOLS=(
DOCS=( NEWS README.md TODO TODO_SCHEMAS python/TODO )
-PATCHES=(
- "${FILESDIR}"/${PN}-2.9.8-out-of-tree-test.patch
-)
-
src_unpack() {
if [[ ${PV} == 9999 ]] ; then
git-r3_src_unpack