summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2021-04-28 01:04:44 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-04-30 15:50:59 +0200
commit5c17f24ef68b457f3846d5511094768390d8c198 (patch)
tree3df9c84d776748ca6dcada5570f24d6fb8d30a35 /dev-java/htmlcleaner
parentdev-java/htmlcleaner: remove old (diff)
downloadgentoo-5c17f24ef68b457f3846d5511094768390d8c198.tar.gz
gentoo-5c17f24ef68b457f3846d5511094768390d8c198.tar.bz2
gentoo-5c17f24ef68b457f3846d5511094768390d8c198.zip
dev-java/htmlcleaner: patched
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/20560 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/htmlcleaner')
-rw-r--r--dev-java/htmlcleaner/htmlcleaner-2.24.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-java/htmlcleaner/htmlcleaner-2.24.ebuild b/dev-java/htmlcleaner/htmlcleaner-2.24.ebuild
index 60b40cac3127..138bce85abb6 100644
--- a/dev-java/htmlcleaner/htmlcleaner-2.24.ebuild
+++ b/dev-java/htmlcleaner/htmlcleaner-2.24.ebuild
@@ -40,6 +40,11 @@ src_prepare() {
# Don't require default.xml to be in the current directory.
sed -i "s:\"default\.xml\":\"${JAVA_PKG_SHAREPATH}/default.xml\":g" \
src/main/java/org/htmlcleaner/ConfigFileTagProvider.java || die
+
+ sed -i \
+ -e '/encoding=/s: standalone.*?>:?><html>:' \
+ -e '/\+ \"<html>/d' \
+ src/test/java/org/htmlcleaner/{Traversal,}DomSerializerTest.java || die
}
src_configure() {