diff options
author | Qing He <qing.he@intel.com> | 2010-08-19 13:32:07 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-31 17:18:55 +0100 |
commit | adfd0e04343ad7770642eadf07a7f9185be6e25d (patch) | |
tree | 51888646c08a50095710f000ff83102a0f305b81 /meta/packages/boost/files/1.34.1-gcc43.patch | |
parent | d1f7c3f9cc59477ef926c35eb980833d5a0246de (diff) | |
download | poky-adfd0e04343ad7770642eadf07a7f9185be6e25d.tar.gz |
boost: upgrade to 1.44.0
from version 1.36.0
which won't compile with gcc 4.5.0
also moved to meta form meta-moblin
changes:
- .so files should go to -dev instead of sub packages
- create libboostX-mt.{so,a} symlinks for compatibility
- meta package 'boost' should set ALLOW_EMPTY
- fix a bug that caused boost-dev being automatically renamed to
libboost_prg_exec_monitor-dev, packages boost, boost-dev and
boost-test now work as intended
- rebased patch arm-intrinsic
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/packages/boost/files/1.34.1-gcc43.patch')
-rw-r--r-- | meta/packages/boost/files/1.34.1-gcc43.patch | 224 |
1 files changed, 224 insertions, 0 deletions
diff --git a/meta/packages/boost/files/1.34.1-gcc43.patch b/meta/packages/boost/files/1.34.1-gcc43.patch new file mode 100644 index 0000000000..4670ac4295 --- /dev/null +++ b/meta/packages/boost/files/1.34.1-gcc43.patch | |||
@@ -0,0 +1,224 @@ | |||
1 | Index: boost_1_34_1/boost/archive/polymorphic_iarchive.hpp | ||
2 | =================================================================== | ||
3 | --- boost_1_34_1.orig/boost/archive/polymorphic_iarchive.hpp 2005-12-11 07:12:51.000000000 +0100 | ||
4 | +++ boost_1_34_1/boost/archive/polymorphic_iarchive.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
5 | @@ -17,6 +17,7 @@ | ||
6 | // See http://www.boost.org for updates, documentation, and revision history. | ||
7 | |||
8 | #include <cstddef> // std::size_t | ||
9 | +#include <climits> | ||
10 | #include <boost/config.hpp> | ||
11 | |||
12 | #if defined(BOOST_NO_STDC_NAMESPACE) | ||
13 | Index: boost_1_34_1/boost/archive/polymorphic_oarchive.hpp | ||
14 | =================================================================== | ||
15 | --- boost_1_34_1.orig/boost/archive/polymorphic_oarchive.hpp 2006-02-12 06:43:06.000000000 +0100 | ||
16 | +++ boost_1_34_1/boost/archive/polymorphic_oarchive.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
17 | @@ -17,6 +17,7 @@ | ||
18 | // See http://www.boost.org for updates, documentation, and revision history. | ||
19 | |||
20 | #include <cstddef> // size_t | ||
21 | +#include <climits> | ||
22 | #include <string> | ||
23 | |||
24 | #include <boost/config.hpp> | ||
25 | Index: boost_1_34_1/boost/date_time/date_facet.hpp | ||
26 | =================================================================== | ||
27 | --- boost_1_34_1.orig/boost/date_time/date_facet.hpp 2005-09-05 23:10:50.000000000 +0200 | ||
28 | +++ boost_1_34_1/boost/date_time/date_facet.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
29 | @@ -429,7 +429,7 @@ | ||
30 | typedef std::basic_string<CharT> string_type; | ||
31 | typedef CharT char_type; | ||
32 | typedef boost::date_time::period_parser<date_type, CharT> period_parser_type; | ||
33 | - typedef special_values_parser<date_type,CharT> special_values_parser_type; | ||
34 | + typedef boost::date_time::special_values_parser<date_type,CharT> special_values_parser_type; | ||
35 | typedef std::vector<std::basic_string<CharT> > input_collection_type; | ||
36 | typedef format_date_parser<date_type, CharT> format_date_parser_type; | ||
37 | // date_generators stuff goes here | ||
38 | Index: boost_1_34_1/boost/mpl/zip_view.hpp | ||
39 | =================================================================== | ||
40 | --- boost_1_34_1.orig/boost/mpl/zip_view.hpp 2004-09-02 17:40:42.000000000 +0200 | ||
41 | +++ boost_1_34_1/boost/mpl/zip_view.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
42 | @@ -37,7 +37,7 @@ | ||
43 | typedef zip_iterator< | ||
44 | typename transform1< | ||
45 | IteratorSeq | ||
46 | - , next<_1> | ||
47 | + , boost::mpl::next<_1> | ||
48 | >::type | ||
49 | > next; | ||
50 | }; | ||
51 | @@ -48,8 +48,8 @@ | ||
52 | struct zip_view | ||
53 | { | ||
54 | private: | ||
55 | - typedef typename transform1< Sequences, begin<_1> >::type first_ones_; | ||
56 | - typedef typename transform1< Sequences, end<_1> >::type last_ones_; | ||
57 | + typedef typename transform1< Sequences, boost::mpl::begin<_1> >::type first_ones_; | ||
58 | + typedef typename transform1< Sequences, boost::mpl::end<_1> >::type last_ones_; | ||
59 | |||
60 | public: | ||
61 | typedef nested_begin_end_tag tag; | ||
62 | Index: boost_1_34_1/boost/python/detail/def_helper.hpp | ||
63 | =================================================================== | ||
64 | --- boost_1_34_1.orig/boost/python/detail/def_helper.hpp 2004-09-16 03:00:28.000000000 +0200 | ||
65 | +++ boost_1_34_1/boost/python/detail/def_helper.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
66 | @@ -155,7 +155,7 @@ | ||
67 | , T3 const& | ||
68 | , T4 const& | ||
69 | , default_call_policies | ||
70 | - , keywords<0> | ||
71 | + , boost::python::detail::keywords<0> | ||
72 | , char const* | ||
73 | , void(not_specified::*)() // A function pointer type which is never an | ||
74 | // appropriate default implementation | ||
75 | Index: boost_1_34_1/boost/regex/v4/basic_regex_creator.hpp | ||
76 | =================================================================== | ||
77 | --- boost_1_34_1.orig/boost/regex/v4/basic_regex_creator.hpp 2006-07-16 18:06:38.000000000 +0200 | ||
78 | +++ boost_1_34_1/boost/regex/v4/basic_regex_creator.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
79 | @@ -24,6 +24,8 @@ | ||
80 | # include BOOST_ABI_PREFIX | ||
81 | #endif | ||
82 | |||
83 | +#include <climits> | ||
84 | + | ||
85 | namespace boost{ | ||
86 | |||
87 | namespace re_detail{ | ||
88 | Index: boost_1_34_1/boost/regex/v4/basic_regex.hpp | ||
89 | =================================================================== | ||
90 | --- boost_1_34_1.orig/boost/regex/v4/basic_regex.hpp 2007-06-05 19:28:18.000000000 +0200 | ||
91 | +++ boost_1_34_1/boost/regex/v4/basic_regex.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
92 | @@ -23,6 +23,8 @@ | ||
93 | # include BOOST_ABI_PREFIX | ||
94 | #endif | ||
95 | |||
96 | +#include <climits> | ||
97 | + | ||
98 | namespace boost{ | ||
99 | #ifdef BOOST_MSVC | ||
100 | #pragma warning(push) | ||
101 | Index: boost_1_34_1/boost/regex/v4/basic_regex_parser.hpp | ||
102 | =================================================================== | ||
103 | --- boost_1_34_1.orig/boost/regex/v4/basic_regex_parser.hpp 2006-12-20 18:19:05.000000000 +0100 | ||
104 | +++ boost_1_34_1/boost/regex/v4/basic_regex_parser.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
105 | @@ -23,6 +23,8 @@ | ||
106 | # include BOOST_ABI_PREFIX | ||
107 | #endif | ||
108 | |||
109 | +#include <climits> | ||
110 | + | ||
111 | namespace boost{ | ||
112 | namespace re_detail{ | ||
113 | |||
114 | Index: boost_1_34_1/boost/regex/v4/cpp_regex_traits.hpp | ||
115 | =================================================================== | ||
116 | --- boost_1_34_1.orig/boost/regex/v4/cpp_regex_traits.hpp 2007-01-15 12:09:44.000000000 +0100 | ||
117 | +++ boost_1_34_1/boost/regex/v4/cpp_regex_traits.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
118 | @@ -41,6 +41,7 @@ | ||
119 | |||
120 | #include <istream> | ||
121 | #include <ios> | ||
122 | +#include <climits> | ||
123 | |||
124 | #ifdef BOOST_HAS_ABI_HEADERS | ||
125 | # include BOOST_ABI_PREFIX | ||
126 | Index: boost_1_34_1/boost/regex/v4/perl_matcher.hpp | ||
127 | =================================================================== | ||
128 | --- boost_1_34_1.orig/boost/regex/v4/perl_matcher.hpp 2006-10-18 14:55:30.000000000 +0200 | ||
129 | +++ boost_1_34_1/boost/regex/v4/perl_matcher.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
130 | @@ -18,6 +18,8 @@ | ||
131 | # include BOOST_ABI_PREFIX | ||
132 | #endif | ||
133 | |||
134 | +#include <climits> | ||
135 | + | ||
136 | namespace boost{ | ||
137 | namespace re_detail{ | ||
138 | |||
139 | Index: boost_1_34_1/boost/regex/v4/regex_split.hpp | ||
140 | =================================================================== | ||
141 | --- boost_1_34_1.orig/boost/regex/v4/regex_split.hpp 2005-01-21 18:22:38.000000000 +0100 | ||
142 | +++ boost_1_34_1/boost/regex/v4/regex_split.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
143 | @@ -21,6 +21,8 @@ | ||
144 | #ifndef BOOST_REGEX_SPLIT_HPP | ||
145 | #define BOOST_REGEX_SPLIT_HPP | ||
146 | |||
147 | +#include <climits> | ||
148 | + | ||
149 | namespace boost{ | ||
150 | |||
151 | #ifdef BOOST_HAS_ABI_HEADERS | ||
152 | Index: boost_1_34_1/boost/regex/v4/states.hpp | ||
153 | =================================================================== | ||
154 | --- boost_1_34_1.orig/boost/regex/v4/states.hpp 2005-09-20 14:01:25.000000000 +0200 | ||
155 | +++ boost_1_34_1/boost/regex/v4/states.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
156 | @@ -23,6 +23,8 @@ | ||
157 | # include BOOST_ABI_PREFIX | ||
158 | #endif | ||
159 | |||
160 | +#include <climits> | ||
161 | + | ||
162 | namespace boost{ | ||
163 | namespace re_detail{ | ||
164 | |||
165 | Index: boost_1_34_1/boost/serialization/collection_traits.hpp | ||
166 | =================================================================== | ||
167 | --- boost_1_34_1.orig/boost/serialization/collection_traits.hpp 2005-06-21 07:19:04.000000000 +0200 | ||
168 | +++ boost_1_34_1/boost/serialization/collection_traits.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
169 | @@ -22,6 +22,7 @@ | ||
170 | // compiles recognize the same set of primitive types, the possibility | ||
171 | // exists for archives to be non-portable if class information for primitive | ||
172 | // types is included. This is addressed by the following macros. | ||
173 | +#include <climits> | ||
174 | #include <boost/config.hpp> | ||
175 | #include <boost/mpl/integral_c.hpp> | ||
176 | #include <boost/mpl/integral_c_tag.hpp> | ||
177 | Index: boost_1_34_1/boost/spirit/phoenix/operators.hpp | ||
178 | =================================================================== | ||
179 | --- boost_1_34_1.orig/boost/spirit/phoenix/operators.hpp 2006-08-25 18:27:30.000000000 +0200 | ||
180 | +++ boost_1_34_1/boost/spirit/phoenix/operators.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
181 | @@ -24,6 +24,7 @@ | ||
182 | #include <boost/spirit/phoenix/composite.hpp> | ||
183 | #include <boost/config.hpp> | ||
184 | #include <boost/mpl/if.hpp> | ||
185 | +#include <climits> | ||
186 | |||
187 | /////////////////////////////////////////////////////////////////////////////// | ||
188 | namespace phoenix { | ||
189 | Index: boost_1_34_1/boost/test/test_tools.hpp | ||
190 | =================================================================== | ||
191 | --- boost_1_34_1.orig/boost/test/test_tools.hpp 2007-02-22 18:57:29.000000000 +0100 | ||
192 | +++ boost_1_34_1/boost/test/test_tools.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
193 | @@ -42,6 +42,7 @@ | ||
194 | #include <boost/mpl/or.hpp> | ||
195 | |||
196 | // STL | ||
197 | +#include <climits> | ||
198 | #include <cstddef> // for std::size_t | ||
199 | #include <iosfwd> | ||
200 | |||
201 | Index: boost_1_34_1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp | ||
202 | =================================================================== | ||
203 | --- boost_1_34_1.orig/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2006-12-20 17:38:24.000000000 +0100 | ||
204 | +++ boost_1_34_1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
205 | @@ -16,6 +16,7 @@ | ||
206 | #include <string> | ||
207 | #include <cstdio> | ||
208 | #include <cstdarg> | ||
209 | +#include <cstring> | ||
210 | #if defined(BOOST_SPIRIT_DEBUG) | ||
211 | #include <iostream> | ||
212 | #endif // defined(BOOST_SPIRIT_DEBUG) | ||
213 | Index: boost_1_34_1/boost/wave/util/flex_string.hpp | ||
214 | =================================================================== | ||
215 | --- boost_1_34_1.orig/boost/wave/util/flex_string.hpp 2006-04-25 19:21:01.000000000 +0200 | ||
216 | +++ boost_1_34_1/boost/wave/util/flex_string.hpp 2008-09-20 20:55:21.000000000 +0200 | ||
217 | @@ -94,6 +94,7 @@ | ||
218 | #include <limits> | ||
219 | #include <stdexcept> | ||
220 | #include <cstddef> | ||
221 | +#include <cstring> | ||
222 | |||
223 | // this must occur after all of the includes and before any code appears | ||
224 | #ifdef BOOST_HAS_ABI_HEADERS | ||