From 39ad75828f33fda68a2161bd5eedb8c0d513249f Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 4 Apr 2021 05:43:47 +0000 Subject: dev-libs/rapidxml: fix patch line endings Closes: https://bugs.gentoo.org/779949 Signed-off-by: Sam James --- dev-libs/rapidxml/files/rapidxml-1.13-clang.patch | 40 +++++++++++------------ 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'dev-libs/rapidxml') 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 inline OutIt print_children(OutIt out, const xml_node *node, int flags, int indent); -+ template inline OutIt print_element_node(OutIt out, const xml_node *node, int flags, int indent); -+ template inline OutIt print_data_node(OutIt out, const xml_node *node, int flags, int indent); -+ template inline OutIt print_cdata_node(OutIt out, const xml_node *node, int flags, int indent); -+ template inline OutIt print_declaration_node(OutIt out, const xml_node *node, int flags, int indent); -+ template inline OutIt print_comment_node(OutIt out, const xml_node *node, int flags, int indent); -+ template inline OutIt print_doctype_node(OutIt out, const xml_node *node, int flags, int indent); -+ template inline OutIt print_pi_node(OutIt out, const xml_node *node, int flags, int indent); -+ -+ // ===================================== -+ - // Print node - template - inline OutIt print_node(OutIt out, const xml_node *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 inline OutIt print_children(OutIt out, const xml_node *node, int flags, int indent); ++ template inline OutIt print_element_node(OutIt out, const xml_node *node, int flags, int indent); ++ template inline OutIt print_data_node(OutIt out, const xml_node *node, int flags, int indent); ++ template inline OutIt print_cdata_node(OutIt out, const xml_node *node, int flags, int indent); ++ template inline OutIt print_declaration_node(OutIt out, const xml_node *node, int flags, int indent); ++ template inline OutIt print_comment_node(OutIt out, const xml_node *node, int flags, int indent); ++ template inline OutIt print_doctype_node(OutIt out, const xml_node *node, int flags, int indent); ++ template inline OutIt print_pi_node(OutIt out, const xml_node *node, int flags, int indent); ++ ++ // ===================================== ++ + // Print node + template + inline OutIt print_node(OutIt out, const xml_node *node, int flags, int indent) -- cgit v1.2.3-65-gdbad