diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2013-08-27 11:41:29 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2013-08-27 11:41:29 +0000 |
commit | dfd91e44aae8d6bbb0f5956c8f1d4ac8615122e5 (patch) | |
tree | ecb5cd3e07289c2a8ae9db64e8f1401caeb7d846 /dev-libs/boost/files | |
parent | revbump -> EAPI 5 (diff) | |
download | gentoo-2-dfd91e44aae8d6bbb0f5956c8f1d4ac8615122e5.tar.gz gentoo-2-dfd91e44aae8d6bbb0f5956c8f1d4ac8615122e5.tar.bz2 gentoo-2-dfd91e44aae8d6bbb0f5956c8f1d4ac8615122e5.zip |
Fix building with USE='tools', wrt bug #459112
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'dev-libs/boost/files')
-rw-r--r-- | dev-libs/boost/files/boost-1.53.0-library_status.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-libs/boost/files/boost-1.53.0-library_status.patch b/dev-libs/boost/files/boost-1.53.0-library_status.patch new file mode 100644 index 000000000000..7d10461795f4 --- /dev/null +++ b/dev-libs/boost/files/boost-1.53.0-library_status.patch @@ -0,0 +1,57 @@ +--- tools_orig/regression/src/library_status.cpp 2012-12-11 15:42:26.000000000 +0100 ++++ tools/regression/src/library_status.cpp 2013-07-11 16:15:54.000000000 +0200 +@@ -171,16 +171,17 @@ + // find_element ------------------------------------------------------------// + ++ struct element_equal { ++ const string & m_name; ++ element_equal(const string & name) : ++ m_name(name) ++ {} ++ bool operator()(const xml::element_ptr & xep) const { ++ return xep.get()->name == m_name; ++ } ++ }; ++ + xml::element_list::const_iterator find_element( + const xml::element & root, const string & name + ){ +- struct element_equal { +- const string & m_name; +- element_equal(const string & name) : +- m_name(name) +- {} +- bool operator()(const xml::element_ptr & xep) const { +- return xep.get()->name == m_name; +- } +- }; + return std::find_if( + root.elements.begin(), +@@ -203,17 +204,18 @@ + // attribute_value ----------------------------------------------------------// + ++ struct attribute_equal { ++ const string & m_name; ++ attribute_equal(const string & name) : ++ m_name(name) ++ {} ++ bool operator()(const xml::attribute & a) const { ++ return a.name == m_name; ++ } ++ }; ++ + const string & attribute_value( + const xml::element & element, + const string & attribute_name + ){ +- struct attribute_equal { +- const string & m_name; +- attribute_equal(const string & name) : +- m_name(name) +- {} +- bool operator()(const xml::attribute & a) const { +- return a.name == m_name; +- } +- }; + xml::attribute_list::const_iterator itr; + itr = std::find_if( |