Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/boost/files: boost-1.53.0-library_status.patch
Date: Tue, 27 Aug 2013 11:41:36
Message-Id: 20130827114129.A75ED20034@flycatcher.gentoo.org
1 pinkbyte 13/08/27 11:41:29
2
3 Added: boost-1.53.0-library_status.patch
4 Log:
5 Fix building with USE='tools', wrt bug #459112
6
7 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
8
9 Revision Changes Path
10 1.1 dev-libs/boost/files/boost-1.53.0-library_status.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/files/boost-1.53.0-library_status.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/files/boost-1.53.0-library_status.patch?rev=1.1&content-type=text/plain
14
15 Index: boost-1.53.0-library_status.patch
16 ===================================================================
17 --- tools_orig/regression/src/library_status.cpp 2012-12-11 15:42:26.000000000 +0100
18 +++ tools/regression/src/library_status.cpp 2013-07-11 16:15:54.000000000 +0200
19 @@ -171,16 +171,17 @@
20 // find_element ------------------------------------------------------------//
21
22 + struct element_equal {
23 + const string & m_name;
24 + element_equal(const string & name) :
25 + m_name(name)
26 + {}
27 + bool operator()(const xml::element_ptr & xep) const {
28 + return xep.get()->name == m_name;
29 + }
30 + };
31 +
32 xml::element_list::const_iterator find_element(
33 const xml::element & root, const string & name
34 ){
35 - struct element_equal {
36 - const string & m_name;
37 - element_equal(const string & name) :
38 - m_name(name)
39 - {}
40 - bool operator()(const xml::element_ptr & xep) const {
41 - return xep.get()->name == m_name;
42 - }
43 - };
44 return std::find_if(
45 root.elements.begin(),
46 @@ -203,17 +204,18 @@
47 // attribute_value ----------------------------------------------------------//
48
49 + struct attribute_equal {
50 + const string & m_name;
51 + attribute_equal(const string & name) :
52 + m_name(name)
53 + {}
54 + bool operator()(const xml::attribute & a) const {
55 + return a.name == m_name;
56 + }
57 + };
58 +
59 const string & attribute_value(
60 const xml::element & element,
61 const string & attribute_name
62 ){
63 - struct attribute_equal {
64 - const string & m_name;
65 - attribute_equal(const string & name) :
66 - m_name(name)
67 - {}
68 - bool operator()(const xml::attribute & a) const {
69 - return a.name == m_name;
70 - }
71 - };
72 xml::attribute_list::const_iterator itr;
73 itr = std::find_if(