diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-03 07:56:23 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-03 07:56:23 (GMT) |
commit | 0ce6326882d1ef6b45955ce0af948aa3da22bc07 (patch) | |
tree | 6ef646f87190a95deea7641df53c6ee5396c900c /abs/extra-testing/boost/serialization_gcc43.patch | |
parent | 907606040ebd98338b939452ee37698b62718820 (diff) | |
download | linhes_pkgbuild-0ce6326882d1ef6b45955ce0af948aa3da22bc07.zip linhes_pkgbuild-0ce6326882d1ef6b45955ce0af948aa3da22bc07.tar.gz linhes_pkgbuild-0ce6326882d1ef6b45955ce0af948aa3da22bc07.tar.bz2 |
Added support for Miro.
Diffstat (limited to 'abs/extra-testing/boost/serialization_gcc43.patch')
-rw-r--r-- | abs/extra-testing/boost/serialization_gcc43.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/abs/extra-testing/boost/serialization_gcc43.patch b/abs/extra-testing/boost/serialization_gcc43.patch new file mode 100644 index 0000000..13dbf5d --- /dev/null +++ b/abs/extra-testing/boost/serialization_gcc43.patch @@ -0,0 +1,44 @@ +Index: /home/maik/workspace/boost/boost/archive/polymorphic_iarchive.hpp +=================================================================== +--- /home/maik/workspace/boost/boost/archive/polymorphic_iarchive.hpp (Revision 43953) ++++ /home/maik/workspace/boost/boost/archive/polymorphic_iarchive.hpp (Arbeitskopie) +@@ -17,6 +17,7 @@ + // See http://www.boost.org for updates, documentation, and revision history. + + #include <cstddef> // std::size_t ++#include <climits> // ULONG_MAX + #include <boost/config.hpp> + + #if defined(BOOST_NO_STDC_NAMESPACE) +@@ -38,6 +39,9 @@ + // i.e. that its not a synonym for (unsigned) long + // if there is no 64 bit int or if its the same as a long + // we shouldn't define separate functions for int64 data types. ++#ifndef ULONG_MAX ++# error "ULONG_MAX is not defined" ++#endif + #if defined(BOOST_NO_INT64_T) \ + || (ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 2**64 - 1 + # define BOOST_NO_INTRINSIC_INT64_T +Index: /home/maik/workspace/boost/boost/archive/polymorphic_oarchive.hpp +=================================================================== +--- /home/maik/workspace/boost/boost/archive/polymorphic_oarchive.hpp (Revision 43953) ++++ /home/maik/workspace/boost/boost/archive/polymorphic_oarchive.hpp (Arbeitskopie) +@@ -18,6 +18,7 @@ + + #include <cstddef> // size_t + #include <string> ++#include <climits> // ULONG_MAX + + #include <boost/config.hpp> + #if defined(BOOST_NO_STDC_NAMESPACE) +@@ -37,6 +38,9 @@ + // i.e. that its not a synonym for (unsigned) long + // if there is no 64 bit int or if its the same as a long + // we shouldn't define separate functions for int64 data types. ++#ifndef ULONG_MAX ++# error "ULONG_MAX is not defined" ++#endif + #if defined(BOOST_NO_INT64_T) \ + || (ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 2**64 - 1 + # define BOOST_NO_INTRINSIC_INT64_T |