summaryrefslogtreecommitdiff
path: root/boost/boost_1_44_0-gthreads.patch
diff options
context:
space:
mode:
Diffstat (limited to 'boost/boost_1_44_0-gthreads.patch')
-rw-r--r--boost/boost_1_44_0-gthreads.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/boost/boost_1_44_0-gthreads.patch b/boost/boost_1_44_0-gthreads.patch
new file mode 100644
index 000000000000..d12b599f3ff9
--- /dev/null
+++ b/boost/boost_1_44_0-gthreads.patch
@@ -0,0 +1,12 @@
+--- misc/boost_1_44_0/boost/config/stdlib/libstdcpp3.hpp 2010-06-11 13:16:34.000000000 +0200
++++ misc/build/boost_1_44_0/boost/config/stdlib/libstdcpp3.hpp 2012-07-13 10:31:58.330127342 +0200
+@@ -31,7 +31,8 @@
+
+ #ifdef __GLIBCXX__ // gcc 3.4 and greater:
+ # if defined(_GLIBCXX_HAVE_GTHR_DEFAULT) \
+- || defined(_GLIBCXX__PTHREADS)
++ || defined(_GLIBCXX__PTHREADS) \
++ || defined(_GLIBCXX_HAS_GTHREADS)
+ //
+ // If the std lib has thread support turned on, then turn it on in Boost
+ // as well. We do this because some gcc-3.4 std lib headers define _REENTANT