diff options
author | 2007-07-06 06:17:48 +0000 | |
---|---|---|
committer | 2007-07-06 06:17:48 +0000 | |
commit | 77d6f39b79cc87fc72aca4b7aa2075505ce02104 (patch) | |
tree | e45428e966dfafe0d03948c3ef5b909de1a4e900 /dev-libs/xmlwrapp/files | |
parent | x86 stable, bug 184332 (diff) | |
download | gentoo-2-77d6f39b79cc87fc72aca4b7aa2075505ce02104.tar.gz gentoo-2-77d6f39b79cc87fc72aca4b7aa2075505ce02104.tar.bz2 gentoo-2-77d6f39b79cc87fc72aca4b7aa2075505ce02104.zip |
Fixed gcc-4.2/namespace issue (bug #162165)
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'dev-libs/xmlwrapp/files')
-rw-r--r-- | dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch new file mode 100644 index 000000000000..6b61bcb60641 --- /dev/null +++ b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch @@ -0,0 +1,20 @@ +--- xmlwrapp-0.5.0/src/libxml/node.cxx.orig 2007-07-06 08:13:31.000000000 +0200 ++++ xmlwrapp-0.5.0/src/libxml/node.cxx 2007-07-06 08:13:05.000000000 +0200 +@@ -512,10 +512,12 @@ + } + } + //#################################################################### +-std::ostream& xml::operator<< (std::ostream &stream, const xml::node &n) { +- std::string xmldata; +- n.node_to_string(xmldata); +- stream << xmldata; +- return stream; ++namespace xml { ++ std::ostream& operator<< (std::ostream &stream, const xml::node &n) { ++ std::string xmldata; ++ n.node_to_string(xmldata); ++ stream << xmldata; ++ return stream; ++ } + } + //#################################################################### |