diff options
author | James Meyer <james.meyer@operamail.com> | 2012-05-10 20:06:52 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-05-10 20:06:52 (GMT) |
commit | de75425bb04ae1a0b3e4f58baf53d23785dd1287 (patch) | |
tree | 12bab7cf533e8dbd90cc49268ee98b8daa0230ed /abs/extra/boost/exceptions.patch | |
parent | 2b532b540f448f02d7aee7ff04fa3d31655e7f8f (diff) | |
parent | 05224a8c82df924573978ba44c897900dcd2d0eb (diff) | |
download | linhes_pkgbuild-de75425bb04ae1a0b3e4f58baf53d23785dd1287.zip linhes_pkgbuild-de75425bb04ae1a0b3e4f58baf53d23785dd1287.tar.gz linhes_pkgbuild-de75425bb04ae1a0b3e4f58baf53d23785dd1287.tar.bz2 |
Merge branch 'testing' of git@linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/boost/exceptions.patch')
-rw-r--r-- | abs/extra/boost/exceptions.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/extra/boost/exceptions.patch b/abs/extra/boost/exceptions.patch new file mode 100644 index 0000000..0322db6 --- /dev/null +++ b/abs/extra/boost/exceptions.patch @@ -0,0 +1,25 @@ +diff -up boost/numeric/conversion/converter_policies.hpp\~ boost/numeric/conversion/converter_policies.hpp +--- boost/numeric/conversion/converter_policies.hpp~ 2008-10-13 11:00:03.000000000 +0200 ++++ boost/numeric/conversion/converter_policies.hpp 2011-07-22 11:46:40.961876274 +0200 +@@ -20,6 +20,7 @@ + + #include "boost/mpl/if.hpp" + #include "boost/mpl/integral_c.hpp" ++#include "boost/throw_exception.hpp" + + namespace boost { namespace numeric + { +@@ -159,9 +160,9 @@ struct def_overflow_handler + void operator() ( range_check_result r ) // throw(negative_overflow,positive_overflow) + { + if ( r == cNegOverflow ) +- throw negative_overflow() ; ++ boost::throw_exception( negative_overflow() ) ; + else if ( r == cPosOverflow ) +- throw positive_overflow() ; ++ boost::throw_exception( positive_overflow() ) ; + } + } ; + + +Diff finished. Fri Jul 22 11:46:49 2011 |