diff options
author | Sam James <sam@gentoo.org> | 2021-04-04 05:43:47 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-04 06:08:42 +0000 |
commit | 39ad75828f33fda68a2161bd5eedb8c0d513249f (patch) | |
tree | 3099b39502f43e87cff4bb3a8d82a00549f71c20 /dev-libs/rapidxml | |
parent | app-admin/exo: version bump to 1.27.1 - remove old. (diff) | |
download | gentoo-39ad75828f33fda68a2161bd5eedb8c0d513249f.tar.gz gentoo-39ad75828f33fda68a2161bd5eedb8c0d513249f.tar.bz2 gentoo-39ad75828f33fda68a2161bd5eedb8c0d513249f.zip |
dev-libs/rapidxml: fix patch line endings
Closes: https://bugs.gentoo.org/779949
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/rapidxml')
-rw-r--r-- | dev-libs/rapidxml/files/rapidxml-1.13-clang.patch | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/dev-libs/rapidxml/files/rapidxml-1.13-clang.patch b/dev-libs/rapidxml/files/rapidxml-1.13-clang.patch index c8e80b830392..7609984f5a28 100644 --- a/dev-libs/rapidxml/files/rapidxml-1.13-clang.patch +++ b/dev-libs/rapidxml/files/rapidxml-1.13-clang.patch @@ -1,23 +1,23 @@ --- a/rapidxml_print.hpp +++ b/rapidxml_print.hpp @@ -102,6 +102,20 @@ - /////////////////////////////////////////////////////////////////////////// - // Internal printing operations - -+ // ===================================== -+ // fix for clang for this bug in gcc and others: https://sourceforge.net/p/rapidxml/bugs/16/ -+ -+ template<class OutIt, class Ch> inline OutIt print_children(OutIt out, const xml_node<Ch> *node, int flags, int indent); -+ template<class OutIt, class Ch> inline OutIt print_element_node(OutIt out, const xml_node<Ch> *node, int flags, int indent); -+ template<class OutIt, class Ch> inline OutIt print_data_node(OutIt out, const xml_node<Ch> *node, int flags, int indent); -+ template<class OutIt, class Ch> inline OutIt print_cdata_node(OutIt out, const xml_node<Ch> *node, int flags, int indent); -+ template<class OutIt, class Ch> inline OutIt print_declaration_node(OutIt out, const xml_node<Ch> *node, int flags, int indent); -+ template<class OutIt, class Ch> inline OutIt print_comment_node(OutIt out, const xml_node<Ch> *node, int flags, int indent); -+ template<class OutIt, class Ch> inline OutIt print_doctype_node(OutIt out, const xml_node<Ch> *node, int flags, int indent); -+ template<class OutIt, class Ch> inline OutIt print_pi_node(OutIt out, const xml_node<Ch> *node, int flags, int indent); -+ -+ // ===================================== -+ - // Print node - template<class OutIt, class Ch> - inline OutIt print_node(OutIt out, const xml_node<Ch> *node, int flags, int indent) + ///////////////////////////////////////////////////////////////////////////
+ // Internal printing operations
+
++ // =====================================
++ // fix for clang for this bug in gcc and others: https://sourceforge.net/p/rapidxml/bugs/16/
++
++ template<class OutIt, class Ch> inline OutIt print_children(OutIt out, const xml_node<Ch> *node, int flags, int indent);
++ template<class OutIt, class Ch> inline OutIt print_element_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
++ template<class OutIt, class Ch> inline OutIt print_data_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
++ template<class OutIt, class Ch> inline OutIt print_cdata_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
++ template<class OutIt, class Ch> inline OutIt print_declaration_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
++ template<class OutIt, class Ch> inline OutIt print_comment_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
++ template<class OutIt, class Ch> inline OutIt print_doctype_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
++ template<class OutIt, class Ch> inline OutIt print_pi_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
++
++ // =====================================
++
+ // Print node
+ template<class OutIt, class Ch>
+ inline OutIt print_node(OutIt out, const xml_node<Ch> *node, int flags, int indent)
|