From 4ec08e93f68c9446c64d133f7ca44e4210707841 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 18 Oct 2010 16:25:10 +0100 Subject: tweak this to patch --- boost/aliasing.patch | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'boost') diff --git a/boost/aliasing.patch b/boost/aliasing.patch index ce6baaf0dbe4..07840a445b10 100644 --- a/boost/aliasing.patch +++ b/boost/aliasing.patch @@ -1,5 +1,5 @@ ---- misc/boost_1_43_0/boost/function/function_base.hpp -+++ misc/build/boost_1_43_0/boost/function/function_base.hpp +--- misc/boost_1_39_0/boost/function/function_base.hpp ++++ misc/build/boost_1_39_0/boost/function/function_base.hpp @@ -2,6 +2,7 @@ // Copyright Douglas Gregor 2001-2006 @@ -41,17 +41,3 @@ } else if (op == check_functor_type_tag) { const detail::sp_typeinfo& check_type = *out_buffer.type.type; -@@ -714,8 +722,11 @@ - - public: // should be protected, but GCC 2.95.3 will fail to allow access - detail::function::vtable_base* get_vtable() const { -- return reinterpret_cast( -- reinterpret_cast(vtable) & ~(std::size_t)0x01); -+ return static_cast( -+ (void*)( -+ (std::size_t(static_cast(vtable)) & ~(std::size_t(0x01))) -+ ) -+ ); - } - - bool has_trivial_copy_and_destroy() const { -- cgit