+++ /dev/null
-include boost.inc
-
-PR = "r1"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2"
-#SRC_URI += "file://unit_test_log10f.patch;patch=1"
-SRC_URI += "file://linux-uclibc.patch;patch=1"
-
include boost.inc
+PR = "r3"
-PR = "r2"
+SRC_URI = "\
+ ${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2 \
+ file://linux-uclibc.patch;patch=1 \
+ file://atomic_count_gcc_atomicity.patch;patch=1 \
+ file://gcc43.patch;patch=1 \
+ file://gcc41.patch;patch=1 \
+"
-SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2"
-#SRC_URI += "file://unit_test_log10f.patch;patch=1"
-SRC_URI += "file://linux-uclibc.patch;patch=1"
-SRC_URI += "file://atomic_count_gcc_atomicity.patch;patch=1"
-SRC_URI += "file://gcc43.patch;patch=1"
--- /dev/null
+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__)