summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-07-03 19:43:34 +0300
committerTor Lillqvist <tml@iki.fi>2013-07-03 20:01:24 +0300
commit2ffd377f725e79c7411dfbe1a3a7a847d749efc6 (patch)
treefcd916cd2d9848048ef4aa0a2ec495747e843bfb /boost
parent8079326b97df9b9da56bc62f67df705efb407409 (diff)
std::min comes from <algorithm>
Fixes configuration error in libvisio. Change-Id: I6a6f743eca5fdfc990aadd69406b21d3ccdc6435
Diffstat (limited to 'boost')
-rw-r--r--boost/UnpackedTarball_boost.mk1
-rw-r--r--boost/boost.transform_width.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/boost/UnpackedTarball_boost.mk b/boost/UnpackedTarball_boost.mk
index fefe8fa97fd9..36b8285c378b 100644
--- a/boost/UnpackedTarball_boost.mk
+++ b/boost/UnpackedTarball_boost.mk
@@ -40,6 +40,7 @@ boost_patches += boost.auto_link.patch
boost_patches += boost.endian.patch
boost_patches += boost.loplugin.patch
boost_patches += boost.std.move.patch
+boost_patches += boost.transform_width.patch
boost_patches += boost.wundef.patch
boost_patches += boost.wunused.patch
boost_patches += boost.wshadow.patch
diff --git a/boost/boost.transform_width.patch b/boost/boost.transform_width.patch
new file mode 100644
index 000000000000..747a17db13de
--- /dev/null
+++ b/boost/boost.transform_width.patch
@@ -0,0 +1,11 @@
+--- foo/foo/foo/boost/archive/iterators/transform_width.hpp
++++ foo/foo/foo/boost/archive/iterators/transform_width.hpp
+@@ -23,6 +23,8 @@
+ // stream length is some common multiple of x and y. E.G. Base64 6 bit
+ // character and 8 bit bytes. Lowest common multiple is 24 => 4 6 bit characters
+ // or 3 8 bit characters
++
++#include <algorithm>
+
+ #include <boost/config.hpp> // for BOOST_DEDUCED_TYPENAME & PTFO
+ #include <boost/serialization/pfto.hpp>