summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-04-22 18:34:04 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-04-22 18:34:36 +0200
commit41d2b58b1ed5c1c4a1ca6ab3e6d7c4f15874d3a3 (patch)
treea2795c72b0afe87928012c271af01c40f6f14f2f /boost
parent5275ed805a6e42f56c59d1c5876a7994625905a9 (diff)
Trying to fix a boost::property_tree::json_parser error on windows
Change-Id: Iea3ec9a56eb008c6a0729a151b392f1e62925720
Diffstat (limited to 'boost')
-rw-r--r--boost/UnpackedTarball_boost.mk2
-rw-r--r--boost/boost.ptree.patch11
2 files changed, 13 insertions, 0 deletions
diff --git a/boost/UnpackedTarball_boost.mk b/boost/UnpackedTarball_boost.mk
index 6474f221aa8b..687a1638701d 100644
--- a/boost/UnpackedTarball_boost.mk
+++ b/boost/UnpackedTarball_boost.mk
@@ -62,6 +62,8 @@ boost_patches += boost_1_44_0-gcc4.8.patch
# https://svn.boost.org/trac/boost/changeset/78496
boost_patches += boost.4874.patch
+boost_patches += boost.ptree.patch
+
$(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
$(eval $(call gb_UnpackedTarball_set_tarball,boost,$(BOOST_TARBALL)))
diff --git a/boost/boost.ptree.patch b/boost/boost.ptree.patch
new file mode 100644
index 000000000000..3fa98d87fea1
--- /dev/null
+++ b/boost/boost.ptree.patch
@@ -0,0 +1,11 @@
+--- misc/build/boost_1_44_0/boost/property_tree/detail/json_parser_read.hpp 2013-04-22 18:22:16.961642320 +0200
++++ misc/build/boost_1_44_0/boost/property_tree/detail/json_parser_read.hpp 2013-04-22 18:22:59.991632602 +0200
+@@ -102,7 +102,7 @@
+ void operator()(It b, It e) const
+ {
+ BOOST_ASSERT(c.stack.size() >= 1);
+- c.stack.back()->push_back(std::make_pair(c.name, Str(b, e)));
++ c.stack.back()->push_back(std::make_pair(c.name, Ptree(Str(b, e))));
+ c.name.clear();
+ c.string.clear();
+ }