diff options
Diffstat (limited to 'meta/recipes-support/boost/files/gcc43.patch')
| -rw-r--r-- | meta/recipes-support/boost/files/gcc43.patch | 256 |
1 files changed, 256 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/files/gcc43.patch b/meta/recipes-support/boost/files/gcc43.patch new file mode 100644 index 0000000000..aefe0800c3 --- /dev/null +++ b/meta/recipes-support/boost/files/gcc43.patch | |||
| @@ -0,0 +1,256 @@ | |||
| 1 | diff -aNru boost_1_34_1-ORIGINAL/boost/archive/polymorphic_iarchive.hpp boost_1_34_1/boost/archive/polymorphic_iarchive.hpp | ||
| 2 | --- boost_1_34_1-ORIGINAL/boost/archive/polymorphic_iarchive.hpp 2005-12-11 00:12:51.000000000 -0600 | ||
| 3 | +++ boost_1_34_1/boost/archive/polymorphic_iarchive.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 4 | @@ -17,6 +17,7 @@ | ||
| 5 | // See http://www.boost.org for updates, documentation, and revision history. | ||
| 6 | |||
| 7 | #include <cstddef> // std::size_t | ||
| 8 | +#include <climits> | ||
| 9 | #include <boost/config.hpp> | ||
| 10 | |||
| 11 | #if defined(BOOST_NO_STDC_NAMESPACE) | ||
| 12 | diff -aNru boost_1_34_1-ORIGINAL/boost/archive/polymorphic_oarchive.hpp boost_1_34_1/boost/archive/polymorphic_oarchive.hpp | ||
| 13 | --- boost_1_34_1-ORIGINAL/boost/archive/polymorphic_oarchive.hpp 2006-02-11 23:43:06.000000000 -0600 | ||
| 14 | +++ boost_1_34_1/boost/archive/polymorphic_oarchive.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 15 | @@ -17,6 +17,7 @@ | ||
| 16 | // See http://www.boost.org for updates, documentation, and revision history. | ||
| 17 | |||
| 18 | #include <cstddef> // size_t | ||
| 19 | +#include <climits> | ||
| 20 | #include <string> | ||
| 21 | |||
| 22 | #include <boost/config.hpp> | ||
| 23 | diff -aNru boost_1_34_1-ORIGINAL/boost/date_time/date_facet.hpp boost_1_34_1/boost/date_time/date_facet.hpp | ||
| 24 | --- boost_1_34_1-ORIGINAL/boost/date_time/date_facet.hpp 2005-09-05 16:10:50.000000000 -0500 | ||
| 25 | +++ boost_1_34_1/boost/date_time/date_facet.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 26 | @@ -429,7 +429,7 @@ | ||
| 27 | typedef std::basic_string<CharT> string_type; | ||
| 28 | typedef CharT char_type; | ||
| 29 | typedef boost::date_time::period_parser<date_type, CharT> period_parser_type; | ||
| 30 | - typedef special_values_parser<date_type,CharT> special_values_parser_type; | ||
| 31 | + typedef boost::date_time::special_values_parser<date_type,CharT> special_values_parser_type; | ||
| 32 | typedef std::vector<std::basic_string<CharT> > input_collection_type; | ||
| 33 | typedef format_date_parser<date_type, CharT> format_date_parser_type; | ||
| 34 | // date_generators stuff goes here | ||
| 35 | diff -aNru boost_1_34_1-ORIGINAL/boost/mpl/zip_view.hpp boost_1_34_1/boost/mpl/zip_view.hpp | ||
| 36 | --- boost_1_34_1-ORIGINAL/boost/mpl/zip_view.hpp 2004-09-02 10:40:42.000000000 -0500 | ||
| 37 | +++ boost_1_34_1/boost/mpl/zip_view.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 38 | @@ -37,7 +37,7 @@ | ||
| 39 | typedef zip_iterator< | ||
| 40 | typename transform1< | ||
| 41 | IteratorSeq | ||
| 42 | - , next<_1> | ||
| 43 | + , boost::mpl::next<_1> | ||
| 44 | >::type | ||
| 45 | > next; | ||
| 46 | }; | ||
| 47 | @@ -48,8 +48,8 @@ | ||
| 48 | struct zip_view | ||
| 49 | { | ||
| 50 | private: | ||
| 51 | - typedef typename transform1< Sequences, begin<_1> >::type first_ones_; | ||
| 52 | - typedef typename transform1< Sequences, end<_1> >::type last_ones_; | ||
| 53 | + typedef typename transform1< Sequences, boost::mpl::begin<_1> >::type first_ones_; | ||
| 54 | + typedef typename transform1< Sequences, boost::mpl::end<_1> >::type last_ones_; | ||
| 55 | |||
| 56 | public: | ||
| 57 | typedef nested_begin_end_tag tag; | ||
| 58 | diff -aNru boost_1_34_1-ORIGINAL/boost/python/detail/def_helper.hpp boost_1_34_1/boost/python/detail/def_helper.hpp | ||
| 59 | --- boost_1_34_1-ORIGINAL/boost/python/detail/def_helper.hpp 2004-09-15 20:00:28.000000000 -0500 | ||
| 60 | +++ boost_1_34_1/boost/python/detail/def_helper.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 61 | @@ -155,7 +155,7 @@ | ||
| 62 | , T3 const& | ||
| 63 | , T4 const& | ||
| 64 | , default_call_policies | ||
| 65 | - , keywords<0> | ||
| 66 | + , boost::python::detail::keywords<0> | ||
| 67 | , char const* | ||
| 68 | , void(not_specified::*)() // A function pointer type which is never an | ||
| 69 | // appropriate default implementation | ||
| 70 | diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/basic_regex_creator.hpp boost_1_34_1/boost/regex/v4/basic_regex_creator.hpp | ||
| 71 | --- boost_1_34_1-ORIGINAL/boost/regex/v4/basic_regex_creator.hpp 2006-07-16 11:06:38.000000000 -0500 | ||
| 72 | +++ boost_1_34_1/boost/regex/v4/basic_regex_creator.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 73 | @@ -24,6 +24,8 @@ | ||
| 74 | # include BOOST_ABI_PREFIX | ||
| 75 | #endif | ||
| 76 | |||
| 77 | +#include <climits> | ||
| 78 | + | ||
| 79 | namespace boost{ | ||
| 80 | |||
| 81 | namespace re_detail{ | ||
| 82 | diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/basic_regex.hpp boost_1_34_1/boost/regex/v4/basic_regex.hpp | ||
| 83 | --- boost_1_34_1-ORIGINAL/boost/regex/v4/basic_regex.hpp 2007-06-05 12:28:18.000000000 -0500 | ||
| 84 | +++ boost_1_34_1/boost/regex/v4/basic_regex.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 85 | @@ -23,6 +23,8 @@ | ||
| 86 | # include BOOST_ABI_PREFIX | ||
| 87 | #endif | ||
| 88 | |||
| 89 | +#include <climits> | ||
| 90 | + | ||
| 91 | namespace boost{ | ||
| 92 | #ifdef BOOST_MSVC | ||
| 93 | #pragma warning(push) | ||
| 94 | diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/basic_regex_parser.hpp boost_1_34_1/boost/regex/v4/basic_regex_parser.hpp | ||
| 95 | --- boost_1_34_1-ORIGINAL/boost/regex/v4/basic_regex_parser.hpp 2006-12-20 11:19:05.000000000 -0600 | ||
| 96 | +++ boost_1_34_1/boost/regex/v4/basic_regex_parser.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 97 | @@ -23,6 +23,8 @@ | ||
| 98 | # include BOOST_ABI_PREFIX | ||
| 99 | #endif | ||
| 100 | |||
| 101 | +#include <climits> | ||
| 102 | + | ||
| 103 | namespace boost{ | ||
| 104 | namespace re_detail{ | ||
| 105 | |||
| 106 | diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/cpp_regex_traits.hpp boost_1_34_1/boost/regex/v4/cpp_regex_traits.hpp | ||
| 107 | --- boost_1_34_1-ORIGINAL/boost/regex/v4/cpp_regex_traits.hpp 2007-01-15 05:09:44.000000000 -0600 | ||
| 108 | +++ boost_1_34_1/boost/regex/v4/cpp_regex_traits.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 109 | @@ -41,6 +41,7 @@ | ||
| 110 | |||
| 111 | #include <istream> | ||
| 112 | #include <ios> | ||
| 113 | +#include <climits> | ||
| 114 | |||
| 115 | #ifdef BOOST_HAS_ABI_HEADERS | ||
| 116 | # include BOOST_ABI_PREFIX | ||
| 117 | diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/perl_matcher.hpp boost_1_34_1/boost/regex/v4/perl_matcher.hpp | ||
| 118 | --- boost_1_34_1-ORIGINAL/boost/regex/v4/perl_matcher.hpp 2006-10-18 07:55:30.000000000 -0500 | ||
| 119 | +++ boost_1_34_1/boost/regex/v4/perl_matcher.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 120 | @@ -18,6 +18,8 @@ | ||
| 121 | # include BOOST_ABI_PREFIX | ||
| 122 | #endif | ||
| 123 | |||
| 124 | +#include <climits> | ||
| 125 | + | ||
| 126 | namespace boost{ | ||
| 127 | namespace re_detail{ | ||
| 128 | |||
| 129 | diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/regex_split.hpp boost_1_34_1/boost/regex/v4/regex_split.hpp | ||
| 130 | --- boost_1_34_1-ORIGINAL/boost/regex/v4/regex_split.hpp 2005-01-21 11:22:38.000000000 -0600 | ||
| 131 | +++ boost_1_34_1/boost/regex/v4/regex_split.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 132 | @@ -21,6 +21,8 @@ | ||
| 133 | #ifndef BOOST_REGEX_SPLIT_HPP | ||
| 134 | #define BOOST_REGEX_SPLIT_HPP | ||
| 135 | |||
| 136 | +#include <climits> | ||
| 137 | + | ||
| 138 | namespace boost{ | ||
| 139 | |||
| 140 | #ifdef BOOST_HAS_ABI_HEADERS | ||
| 141 | diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/states.hpp boost_1_34_1/boost/regex/v4/states.hpp | ||
| 142 | --- boost_1_34_1-ORIGINAL/boost/regex/v4/states.hpp 2005-09-20 07:01:25.000000000 -0500 | ||
| 143 | +++ boost_1_34_1/boost/regex/v4/states.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 144 | @@ -23,6 +23,8 @@ | ||
| 145 | # include BOOST_ABI_PREFIX | ||
| 146 | #endif | ||
| 147 | |||
| 148 | +#include <climits> | ||
| 149 | + | ||
| 150 | namespace boost{ | ||
| 151 | namespace re_detail{ | ||
| 152 | |||
| 153 | diff -aNru boost_1_34_1-ORIGINAL/boost/serialization/collection_traits.hpp boost_1_34_1/boost/serialization/collection_traits.hpp | ||
| 154 | --- boost_1_34_1-ORIGINAL/boost/serialization/collection_traits.hpp 2005-06-21 00:19:04.000000000 -0500 | ||
| 155 | +++ boost_1_34_1/boost/serialization/collection_traits.hpp 2008-03-03 03:09:49.000000000 -0600 | ||
| 156 | @@ -22,6 +22,7 @@ | ||
| 157 | // compiles recognize the same set of primitive types, the possibility | ||
| 158 | // exists for archives to be non-portable if class information for primitive | ||
| 159 | // types is included. This is addressed by the following macros. | ||
| 160 | +#include <climits> | ||
| 161 | #include <boost/config.hpp> | ||
| 162 | #include <boost/mpl/integral_c.hpp> | ||
| 163 | #include <boost/mpl/integral_c_tag.hpp> | ||
| 164 | diff -aNru boost_1_34_1-ORIGINAL/boost/spirit/phoenix/operators.hpp boost_1_34_1/boost/spirit/phoenix/operators.hpp | ||
| 165 | --- boost_1_34_1-ORIGINAL/boost/spirit/phoenix/operators.hpp 2006-08-25 11:27:30.000000000 -0500 | ||
| 166 | +++ boost_1_34_1/boost/spirit/phoenix/operators.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 167 | @@ -24,6 +24,7 @@ | ||
| 168 | #include <boost/spirit/phoenix/composite.hpp> | ||
| 169 | #include <boost/config.hpp> | ||
| 170 | #include <boost/mpl/if.hpp> | ||
| 171 | +#include <climits> | ||
| 172 | |||
| 173 | /////////////////////////////////////////////////////////////////////////////// | ||
| 174 | namespace phoenix { | ||
| 175 | diff -aNru boost_1_34_1-ORIGINAL/boost/test/test_tools.hpp boost_1_34_1/boost/test/test_tools.hpp | ||
| 176 | --- boost_1_34_1-ORIGINAL/boost/test/test_tools.hpp 2007-02-22 11:57:29.000000000 -0600 | ||
| 177 | +++ boost_1_34_1/boost/test/test_tools.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 178 | @@ -42,6 +42,7 @@ | ||
| 179 | #include <boost/mpl/or.hpp> | ||
| 180 | |||
| 181 | // STL | ||
| 182 | +#include <climits> | ||
| 183 | #include <cstddef> // for std::size_t | ||
| 184 | #include <iosfwd> | ||
| 185 | |||
| 186 | diff -aNru boost_1_34_1-ORIGINAL/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp boost_1_34_1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp | ||
| 187 | --- boost_1_34_1-ORIGINAL/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2006-12-20 10:38:24.000000000 -0600 | ||
| 188 | +++ boost_1_34_1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 189 | @@ -16,6 +16,7 @@ | ||
| 190 | #include <string> | ||
| 191 | #include <cstdio> | ||
| 192 | #include <cstdarg> | ||
| 193 | +#include <cstring> | ||
| 194 | #if defined(BOOST_SPIRIT_DEBUG) | ||
| 195 | #include <iostream> | ||
| 196 | #endif // defined(BOOST_SPIRIT_DEBUG) | ||
| 197 | diff -aNru boost_1_34_1-ORIGINAL/boost/wave/util/flex_string.hpp boost_1_34_1/boost/wave/util/flex_string.hpp | ||
| 198 | --- boost_1_34_1-ORIGINAL/boost/wave/util/flex_string.hpp 2006-04-25 12:21:01.000000000 -0500 | ||
| 199 | +++ boost_1_34_1/boost/wave/util/flex_string.hpp 2008-03-03 03:08:59.000000000 -0600 | ||
| 200 | @@ -94,6 +94,7 @@ | ||
| 201 | #include <limits> | ||
| 202 | #include <stdexcept> | ||
| 203 | #include <cstddef> | ||
| 204 | +#include <cstring> | ||
| 205 | |||
| 206 | // this must occur after all of the includes and before any code appears | ||
| 207 | #ifdef BOOST_HAS_ABI_HEADERS | ||
| 208 | |||
| 209 | --- boost_1_33_1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2008-07-05 01:50:04.000000000 +0200 | ||
| 210 | +++ boost_1_34_1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2006-12-20 17:38:24.000000000 +0100 | ||
| 211 | @@ -295,17 +325,20 @@ | ||
| 212 | |||
| 213 | lex_functor(IteratorT const &first, IteratorT const &last, | ||
| 214 | PositionT const &pos, boost::wave::language_support language) | ||
| 215 | - : lexer(first, last, pos, language) | ||
| 216 | + : re2c_lexer(first, last, pos, language) | ||
| 217 | {} | ||
| 218 | virtual ~lex_functor() {} | ||
| 219 | |||
| 220 | // get the next token from the input stream | ||
| 221 | - token_type get() { return lexer.get(); } | ||
| 222 | - void set_position(PositionT const &pos) | ||
| 223 | - { lexer.set_position(pos); } | ||
| 224 | + token_type get() { return re2c_lexer.get(); } | ||
| 225 | + void set_position(PositionT const &pos) { re2c_lexer.set_position(pos); } | ||
| 226 | +#if BOOST_WAVE_SUPPORT_PRAGMA_ONCE != 0 | ||
| 227 | + bool has_include_guards(std::string& guard_name) const | ||
| 228 | + { return re2c_lexer.has_include_guards(guard_name); } | ||
| 229 | +#endif | ||
| 230 | |||
| 231 | private: | ||
| 232 | - lexer<IteratorT, PositionT> lexer; | ||
| 233 | + lexer<IteratorT, PositionT> re2c_lexer; | ||
| 234 | }; | ||
| 235 | |||
| 236 | /////////////////////////////////////////////////////////////////////////////// | ||
| 237 | @@ -338,7 +371,7 @@ | ||
| 238 | // It is coupled to the iterator type to allow to decouple the lexer/iterator | ||
| 239 | // configurations at compile time. | ||
| 240 | // | ||
| 241 | -// This function is declared inside the cpp_slex_token.hpp file, which is | ||
| 242 | +// This function is declared inside the cpp_lex_token.hpp file, which is | ||
| 243 | // referenced by the source file calling the lexer and the source file, which | ||
| 244 | // instantiates the lex_functor. But is is defined here, so it will be | ||
| 245 | // instantiated only while compiling the source file, which instantiates the | ||
| 246 | @@ -356,8 +389,8 @@ | ||
| 247 | IteratorT const &last, PositionT const &pos, | ||
| 248 | boost::wave::language_support language) | ||
| 249 | { | ||
| 250 | - return new re2clex::lex_functor<IteratorT, PositionT>(first, last, pos, | ||
| 251 | - language); | ||
| 252 | + using re2clex::lex_functor; | ||
| 253 | + return new lex_functor<IteratorT, PositionT>(first, last, pos, language); | ||
| 254 | } | ||
| 255 | |||
| 256 | #undef BOOST_WAVE_RE2C_NEW_LEXER_INLINE | ||
