diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/multi_xml/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/multi_xml/files')
-rw-r--r-- | dev-ruby/multi_xml/files/multi_xml-0.6.0-ox24.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-ruby/multi_xml/files/multi_xml-0.6.0-ox24.patch b/dev-ruby/multi_xml/files/multi_xml-0.6.0-ox24.patch new file mode 100644 index 000000000000..a0568a8fb52e --- /dev/null +++ b/dev-ruby/multi_xml/files/multi_xml-0.6.0-ox24.patch @@ -0,0 +1,23 @@ +From f9d18d87c3340aa53f524524bf189b99459ab1e6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz> +Date: Thu, 18 May 2017 23:10:48 +0200 +Subject: [PATCH] Update for ox > 2.4.11 + +There is more pedantic parsing of white-space characters in ox > 2.4.11. Better to set explicitly the expected skip mode. +--- + lib/multi_xml/parsers/ox.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/multi_xml/parsers/ox.rb b/lib/multi_xml/parsers/ox.rb +index e52a560..dc1413e 100644 +--- a/lib/multi_xml/parsers/ox.rb ++++ b/lib/multi_xml/parsers/ox.rb +@@ -29,7 +29,7 @@ def parse_error + + def parse(io) + handler = Handler.new +- ::Ox.sax_parse(handler, io, :convert_special => true) ++ ::Ox.sax_parse(handler, io, convert_special: true, skip: :skip_return) + handler.doc + end + |