summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/boost/files/gcc41.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-07-16 12:08:42 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-07-16 12:08:42 +0100
commit43e94412c45b4b79485a64010c76d89b245bb235 (patch)
tree54705d6b15d2dbc87e7811923e960d526ba640e5 /meta-moblin/packages/boost/files/gcc41.patch
parent4108e6f6037182e78bad27a4eae5456995f59e07 (diff)
downloadopenembedded-core-43e94412c45b4b79485a64010c76d89b245bb235.tar.gz
openembedded-core-43e94412c45b4b79485a64010c76d89b245bb235.tar.bz2
openembedded-core-43e94412c45b4b79485a64010c76d89b245bb235.tar.xz
openembedded-core-43e94412c45b4b79485a64010c76d89b245bb235.zip
Add boost from OE.dev
Diffstat (limited to 'meta-moblin/packages/boost/files/gcc41.patch')
-rw-r--r--meta-moblin/packages/boost/files/gcc41.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-moblin/packages/boost/files/gcc41.patch b/meta-moblin/packages/boost/files/gcc41.patch
new file mode 100644
index 000000000..f91d1adf2
--- /dev/null
+++ b/meta-moblin/packages/boost/files/gcc41.patch
@@ -0,0 +1,14 @@
+diff -ur boost_1_33_1.orig/boost/bind.hpp boost_1_33_1/boost/bind.hpp
+--- boost_1_33_1.orig/boost/bind.hpp 2008-10-11 10:30:03.000000000 +0200
++++ boost_1_33_1/boost/bind.hpp 2008-10-11 10:41:25.000000000 +0200
+@@ -28,6 +28,10 @@
+ #include <boost/bind/arg.hpp>
+ #include <boost/detail/workaround.hpp>
+
++#if __GNUC__ == 4 && __GNUC_MINOR__ == 1
++# include <boost/visit_each.hpp>
++#endif
++
+ // Borland-specific bug, visit_each() silently fails to produce code
+
+ #if defined(__BORLANDC__)