undo previous change, build now fixed in sge.spec
[boost.git] / boost-gcc43.patch
1 diff -urp boost_1_36_0_beta1-orig/boost/archive/polymorphic_iarchive.hpp boost_1_36_0_beta1/boost/archive/polymorphic_iarchive.hpp
2 --- boost_1_36_0_beta1-orig/boost/archive/polymorphic_iarchive.hpp      2008-08-11 23:49:44.000000000 +0200
3 +++ boost_1_36_0_beta1/boost/archive/polymorphic_iarchive.hpp   2008-08-11 23:50:38.000000000 +0200
4 @@ -35,6 +35,8 @@ namespace std{
5  #include <boost/serialization/nvp.hpp>
6  #include <boost/archive/detail/register_archive.hpp>
7  
8 +#include <limits.h>
9 +
10  // determine if its necessary to handle (u)int64_t specifically
11  // i.e. that its not a synonym for (unsigned) long
12  // if there is no 64 bit int or if its the same as a long
13 Only in boost_1_36_0_beta1/boost/archive: polymorphic_iarchive.hpp.orig
14 diff -urp boost_1_36_0_beta1-orig/boost/archive/polymorphic_oarchive.hpp boost_1_36_0_beta1/boost/archive/polymorphic_oarchive.hpp
15 --- boost_1_36_0_beta1-orig/boost/archive/polymorphic_oarchive.hpp      2008-08-11 23:49:44.000000000 +0200
16 +++ boost_1_36_0_beta1/boost/archive/polymorphic_oarchive.hpp   2008-08-11 23:50:38.000000000 +0200
17 @@ -34,6 +34,8 @@ namespace std{
18  #include <boost/serialization/nvp.hpp>
19  #include <boost/archive/detail/register_archive.hpp>
20  
21 +#include <limits.h>
22 +
23  // determine if its necessary to handle (u)int64_t specifically
24  // i.e. that its not a synonym for (unsigned) long
25  // if there is no 64 bit int or if its the same as a long
26 Only in boost_1_36_0_beta1/boost/archive: polymorphic_oarchive.hpp.orig
27 diff -urp boost_1_36_0_beta1-orig/boost/date_time/tz_db_base.hpp boost_1_36_0_beta1/boost/date_time/tz_db_base.hpp
28 --- boost_1_36_0_beta1-orig/boost/date_time/tz_db_base.hpp      2008-08-11 23:49:45.000000000 +0200
29 +++ boost_1_36_0_beta1/boost/date_time/tz_db_base.hpp   2008-08-11 23:50:38.000000000 +0200
30 @@ -158,7 +158,7 @@ namespace boost {
31        typedef typename time_zone_type::base_type time_zone_base_type;
32        typedef typename time_zone_type::time_duration_type time_duration_type;
33        typedef time_zone_names_base<char_type> time_zone_names;
34 -      typedef dst_adjustment_offsets<time_duration_type> dst_adjustment_offsets;
35 +      typedef dst_adjustment_offsets<time_duration_type> dst_adjustment_offsets_t;
36        typedef std::basic_string<char_type> string_type;
37  
38        //! Constructs an empty database
39 @@ -346,18 +346,18 @@ namespace boost {
40          time_duration_type utc_offset = 
41            str_from_delimited_time_duration<time_duration_type,char_type>(result[GMTOFFSET]);
42          
43 -        dst_adjustment_offsets adjust(time_duration_type(0,0,0),
44 -                                      time_duration_type(0,0,0),
45 -                                      time_duration_type(0,0,0));
46 +        dst_adjustment_offsets_t adjust(time_duration_type(0,0,0),
47 +                                       time_duration_type(0,0,0),
48 +                                       time_duration_type(0,0,0));
49  
50          boost::shared_ptr<rule_type> rules;
51  
52          if(has_dst){
53 -          adjust = dst_adjustment_offsets(
54 -                                          str_from_delimited_time_duration<time_duration_type,char_type>(result[DSTADJUST]),
55 -                                          str_from_delimited_time_duration<time_duration_type,char_type>(result[START_TIME]),
56 -                                          str_from_delimited_time_duration<time_duration_type,char_type>(result[END_TIME])
57 -                                          );
58 +          adjust = dst_adjustment_offsets_t(
59 +                                           str_from_delimited_time_duration<time_duration_type,char_type>(result[DSTADJUST]),
60 +                                           str_from_delimited_time_duration<time_duration_type,char_type>(result[START_TIME]),
61 +                                           str_from_delimited_time_duration<time_duration_type,char_type>(result[END_TIME])
62 +                                           );
63  
64            rules = 
65              boost::shared_ptr<rule_type>(parse_rules(result[START_DATE_RULE],
66 Only in boost_1_36_0_beta1/boost/date_time: tz_db_base.hpp.orig
67 diff -urp boost_1_36_0_beta1-orig/boost/regex/v4/basic_regex_creator.hpp boost_1_36_0_beta1/boost/regex/v4/basic_regex_creator.hpp
68 --- boost_1_36_0_beta1-orig/boost/regex/v4/basic_regex_creator.hpp      2008-08-11 23:49:48.000000000 +0200
69 +++ boost_1_36_0_beta1/boost/regex/v4/basic_regex_creator.hpp   2008-08-11 23:50:38.000000000 +0200
70 @@ -36,6 +36,8 @@
71  #  pragma warning(disable: 4800)
72  #endif
73  
74 +#include <limits.h>
75 +
76  namespace boost{
77  
78  namespace re_detail{
79 Only in boost_1_36_0_beta1/boost/regex/v4: basic_regex_creator.hpp.orig
80 diff -urp boost_1_36_0_beta1-orig/boost/regex/v4/basic_regex.hpp boost_1_36_0_beta1/boost/regex/v4/basic_regex.hpp
81 --- boost_1_36_0_beta1-orig/boost/regex/v4/basic_regex.hpp      2008-08-11 23:49:48.000000000 +0200
82 +++ boost_1_36_0_beta1/boost/regex/v4/basic_regex.hpp   2008-08-11 23:50:38.000000000 +0200
83 @@ -30,6 +30,8 @@
84  #pragma warning(pop)
85  #endif
86  
87 +#include <limits.h>
88 +
89  namespace boost{
90  #ifdef BOOST_MSVC
91  #pragma warning(push)
92 Only in boost_1_36_0_beta1/boost/regex/v4: basic_regex.hpp.orig
93 diff -urp boost_1_36_0_beta1-orig/boost/regex/v4/basic_regex_parser.hpp boost_1_36_0_beta1/boost/regex/v4/basic_regex_parser.hpp
94 --- boost_1_36_0_beta1-orig/boost/regex/v4/basic_regex_parser.hpp       2008-08-11 23:49:48.000000000 +0200
95 +++ boost_1_36_0_beta1/boost/regex/v4/basic_regex_parser.hpp    2008-08-11 23:50:38.000000000 +0200
96 @@ -30,6 +30,8 @@
97  #pragma warning(pop)
98  #endif
99  
100 +#include <limits.h>
101 +
102  namespace boost{
103  namespace re_detail{
104  
105 Only in boost_1_36_0_beta1/boost/regex/v4: basic_regex_parser.hpp.orig
106 diff -urp boost_1_36_0_beta1-orig/boost/regex/v4/perl_matcher.hpp boost_1_36_0_beta1/boost/regex/v4/perl_matcher.hpp
107 --- boost_1_36_0_beta1-orig/boost/regex/v4/perl_matcher.hpp     2008-08-11 23:49:48.000000000 +0200
108 +++ boost_1_36_0_beta1/boost/regex/v4/perl_matcher.hpp  2008-08-11 23:50:38.000000000 +0200
109 @@ -30,6 +30,8 @@
110  #  pragma warning(disable: 4800)
111  #endif
112  
113 +#include <limits.h>
114 +
115  namespace boost{
116  namespace re_detail{
117  
118 Only in boost_1_36_0_beta1/boost/regex/v4: perl_matcher.hpp.orig
119 diff -urp boost_1_36_0_beta1-orig/boost/regex/v4/regex_split.hpp boost_1_36_0_beta1/boost/regex/v4/regex_split.hpp
120 --- boost_1_36_0_beta1-orig/boost/regex/v4/regex_split.hpp      2008-08-11 23:49:48.000000000 +0200
121 +++ boost_1_36_0_beta1/boost/regex/v4/regex_split.hpp   2008-08-11 23:50:38.000000000 +0200
122 @@ -21,6 +21,8 @@
123  #ifndef BOOST_REGEX_SPLIT_HPP
124  #define BOOST_REGEX_SPLIT_HPP
125  
126 +#include <limits.h>
127 +
128  namespace boost{
129  
130  #ifdef BOOST_MSVC
131 Only in boost_1_36_0_beta1/boost/regex/v4: regex_split.hpp.orig
132 diff -urp boost_1_36_0_beta1-orig/boost/regex/v4/states.hpp boost_1_36_0_beta1/boost/regex/v4/states.hpp
133 --- boost_1_36_0_beta1-orig/boost/regex/v4/states.hpp   2008-08-11 23:49:48.000000000 +0200
134 +++ boost_1_36_0_beta1/boost/regex/v4/states.hpp        2008-08-11 23:50:38.000000000 +0200
135 @@ -30,6 +30,8 @@
136  #pragma warning(pop)
137  #endif
138  
139 +#include <limits.h>
140 +
141  namespace boost{
142  namespace re_detail{
143  
144 Only in boost_1_36_0_beta1/boost/regex/v4: states.hpp.orig
145 diff -urp boost_1_36_0_beta1-orig/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp boost_1_36_0_beta1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp
146 --- boost_1_36_0_beta1-orig/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp      2008-08-11 23:49:45.000000000 +0200
147 +++ boost_1_36_0_beta1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp   2008-08-11 23:50:38.000000000 +0200
148 @@ -16,6 +16,8 @@
149  #include <string>
150  #include <cstdio>
151  #include <cstdarg>
152 +#include <cstring>
153 +
154  #if defined(BOOST_SPIRIT_DEBUG)
155  #include <iostream>
156  #endif // defined(BOOST_SPIRIT_DEBUG)
157 Only in boost_1_36_0_beta1/boost/wave/cpplexer/re2clex: cpp_re2c_lexer.hpp.orig