summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2018-03-27 16:41:54 +1300
committerKent Fredric <kentnl@gentoo.org>2018-03-27 16:42:24 +1300
commitf9c71bf8b9b3823a4d7500092412bc5831bf664b (patch)
treec9262d9ab51e157692f9521e317fe8ceac4af723 /dev-perl/XML-LibXSLT/files
parentdev-util/clinfo: Cleanup old versions (diff)
downloadgentoo-f9c71bf8b9b3823a4d7500092412bc5831bf664b.tar.gz
gentoo-f9c71bf8b9b3823a4d7500092412bc5831bf664b.tar.bz2
gentoo-f9c71bf8b9b3823a4d7500092412bc5831bf664b.zip
dev-perl/XML-LibXSLT: Bump to version 1.960.0
- Properly fix expanded entities test ( #623192 ) - Cleanup author tests Upstream: - Cease using $Config{libs} Bug: https://bugs.gentoo.org/623192 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-perl/XML-LibXSLT/files')
-rw-r--r--dev-perl/XML-LibXSLT/files/XML-LibXSLT-1.96-entityexpandtest.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-perl/XML-LibXSLT/files/XML-LibXSLT-1.96-entityexpandtest.patch b/dev-perl/XML-LibXSLT/files/XML-LibXSLT-1.96-entityexpandtest.patch
new file mode 100644
index 000000000000..3826ba5dc5d3
--- /dev/null
+++ b/dev-perl/XML-LibXSLT/files/XML-LibXSLT-1.96-entityexpandtest.patch
@@ -0,0 +1,29 @@
+From a70778f1e263bce11b8749353a7a6a99e3f721fb Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Tue, 27 Mar 2018 16:00:45 +1300
+Subject: Force entity expansion
+
+Gentoo's XML::LibXML does not expand entities on its own by default
+and has to be configured to do so.
+
+Bug: https://bugs.gentoo.org/623192
+---
+ t/06entities.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/06entities.t b/t/06entities.t
+index 32bc395..3d5e791 100644
+--- a/t/06entities.t
++++ b/t/06entities.t
+@@ -9,7 +9,7 @@ use XML::LibXSLT;
+ my $parser = XML::LibXML->new();
+ my $xslt = XML::LibXSLT->new();
+
+-# $parser->expand_entities(1);
++$parser->expand_entities(1);
+
+ my $source = $parser->parse_string(qq{<?xml version="1.0" encoding="UTF-8"?>
+ <root>foo</root>});
+--
+2.16.2
+