summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/boost/boost_1.33.1.bb2
-rw-r--r--packages/boost/files/atomic_count_gcc_atomicity.patch13
2 files changed, 14 insertions, 1 deletions
diff --git a/packages/boost/boost_1.33.1.bb b/packages/boost/boost_1.33.1.bb
index 516a20bfe9..6632f6c8ea 100644
--- a/packages/boost/boost_1.33.1.bb
+++ b/packages/boost/boost_1.33.1.bb
@@ -9,7 +9,7 @@ SECTION = "libs"
DEPENDS = "boost-jam-native zlib"
PRIORITY = "optional"
LICENSE = "Boost Software License"
-PR = "r0"
+PR = "r1"
BOOST_VER = "${@"_".join(bb.data.getVar("PV",d,1).split("."))}"
BOOST_MAJ = "${@"_".join(bb.data.getVar("PV",d,1).split(".")[0:2])}"
diff --git a/packages/boost/files/atomic_count_gcc_atomicity.patch b/packages/boost/files/atomic_count_gcc_atomicity.patch
new file mode 100644
index 0000000000..7d08e73550
--- /dev/null
+++ b/packages/boost/files/atomic_count_gcc_atomicity.patch
@@ -0,0 +1,13 @@
+Index: boost_1_33_1/boost/detail/atomic_count_gcc.hpp
+===================================================================
+--- boost_1_33_1.orig/boost/detail/atomic_count_gcc.hpp 2008-05-01 20:43:45.000000000 +0200
++++ boost_1_33_1/boost/detail/atomic_count_gcc.hpp 2008-05-01 20:43:55.000000000 +0200
+@@ -17,7 +17,7 @@
+ // http://www.boost.org/LICENSE_1_0.txt)
+ //
+
+-#include <bits/atomicity.h>
++#include <ext/atomicity.h>
+
+ namespace boost
+ {