summaryrefslogtreecommitdiff
path: root/recipes/boost/files/03-exception-clone-destructor-fix.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-11-04 22:03:23 +0100
committerKoen Kooi <koen@openembedded.org>2009-11-04 22:03:23 +0100
commit3a26240e09072ec125f80e3a0131080265a2fac7 (patch)
tree1c8facb86ebefb65c59dd071f5fe2b0f104bd8c3 /recipes/boost/files/03-exception-clone-destructor-fix.patch
parenta0afb38137e89893bcd31b3a617cf60b0ed3cd9c (diff)
boost 1.36: various ARM fixups:
* changed intrinsics patch to work for armv6 and armv7a * disabled atomic ops for arm versions <6 * fix associated build damage * pass in correct gcc version
Diffstat (limited to 'recipes/boost/files/03-exception-clone-destructor-fix.patch')
-rw-r--r--recipes/boost/files/03-exception-clone-destructor-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/boost/files/03-exception-clone-destructor-fix.patch b/recipes/boost/files/03-exception-clone-destructor-fix.patch
new file mode 100644
index 0000000000..d78759b5e3
--- /dev/null
+++ b/recipes/boost/files/03-exception-clone-destructor-fix.patch
@@ -0,0 +1,12 @@
+diff -purN orig/boost/exception/enable_current_exception.hpp boost_1_36_0/boost/exception/enable_current_exception.hpp
+--- orig/boost/exception/enable_current_exception.hpp 2008-09-12 11:48:45.000000000 -0400
++++ boost_1_36_0/boost/exception/enable_current_exception.hpp 2008-09-12 15:13:06.000000000 -0400
+@@ -96,6 +96,8 @@ boost
+ *be1 = *be2;
+ }
+
++ ~exception_clone() throw() { }
++
+ private:
+
+ detail::atomic_count mutable count_;