summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2018-03-26 23:53:18 +1300
committerKent Fredric <kentnl@gentoo.org>2018-03-26 23:53:53 +1300
commit2fa5c807b5b61eded816bda5e24fdd13a57dbff2 (patch)
treeb8f4c21effd6e97358d995ec8101ff3ca7074724 /dev-perl/XML-Atom/files/XML-Atom-0.42-testxxe.patch
parentdev-python/socketpool: fix EXAMPLES in EAPI 6 (diff)
downloadgentoo-2fa5c807b5b61eded816bda5e24fdd13a57dbff2.tar.gz
gentoo-2fa5c807b5b61eded816bda5e24fdd13a57dbff2.tar.bz2
gentoo-2fa5c807b5b61eded816bda5e24fdd13a57dbff2.zip
dev-perl/XML-Atom: Bump to version 0.420.0
- Fix test failures due to '.' in @INC removal - Fix test failures introduced by dev-perl/XML-LibXML being patched to default XXE's to being disabled - Cleanup tests Upstream: - Remove tests dependent on encoding.pm - Move to Module::Build::Tiny - Doc fixes Bug: https://bugs.gentoo.org/623678 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-perl/XML-Atom/files/XML-Atom-0.42-testxxe.patch')
-rw-r--r--dev-perl/XML-Atom/files/XML-Atom-0.42-testxxe.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-perl/XML-Atom/files/XML-Atom-0.42-testxxe.patch b/dev-perl/XML-Atom/files/XML-Atom-0.42-testxxe.patch
new file mode 100644
index 000000000000..a61fdb990049
--- /dev/null
+++ b/dev-perl/XML-Atom/files/XML-Atom-0.42-testxxe.patch
@@ -0,0 +1,28 @@
+From 919852dce98ce60abf494edfbe3c57d7a08545e4 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Mon, 26 Mar 2018 23:37:10 +1300
+Subject: Force setting exapnd-external-entities on libxml for this test
+
+Gentoo defaults expand-external-entities to off, which naturally breaks
+this test which explicitly uses external entities.
+
+Bug: https://bugs.gentoo.org/623678
+---
+ t/31-external-entities-libxml.t | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/t/31-external-entities-libxml.t b/t/31-external-entities-libxml.t
+index 71f6eb9..8c9df11 100644
+--- a/t/31-external-entities-libxml.t
++++ b/t/31-external-entities-libxml.t
+@@ -51,6 +51,7 @@ EOX
+ ## custom parser
+ {
+ my $libxml = XML::LibXML->new;
++ $libxml->expand_entities(1);
+ my $entry = XML::Atom::Entry->new(Stream => \$xml, Parser => $libxml);
+ is $entry->title, "Guest Author", "got title";
+ my $content = $entry->content->body;
+--
+2.16.2
+