diff options
author | James Meyer <james.meyer@operamail.com> | 2009-01-04 18:49:24 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-01-04 18:49:24 (GMT) |
commit | 116edc0c0cc1b926acce635a76d102408b118a92 (patch) | |
tree | 237e661dc7f5b1bb4b18350ab3a48e5a15283851 /abs/extra-testing/boost/serialization_gcc43.patch | |
parent | 29e945b91760568116a21e0076fae046b33a2663 (diff) | |
parent | 7f42f55d022dc8ca818a76dccfc66fce7c8dea4f (diff) | |
download | linhes_pkgbuild-116edc0c0cc1b926acce635a76d102408b118a92.zip linhes_pkgbuild-116edc0c0cc1b926acce635a76d102408b118a92.tar.gz linhes_pkgbuild-116edc0c0cc1b926acce635a76d102408b118a92.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD.git
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 |