From: Jackie Huang Date: Tue, 13 Sep 2016 05:32:31 +0000 (+0800) Subject: boost: Replace math::static_lcm with integer X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~24142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c9fe10f3aaa4ee6e8fee52816298896b18cdb60;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git boost: Replace math::static_lcm with integer Replace math with integer according to the commit upstream: (From OE-Core rev: 2e2ecd867d47ee24b37f61af6db5338df5059844) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch b/meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch index 0cd97ccb974..917617a044e 100644 --- a/meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch +++ b/meta/recipes-support/boost/boost/boost-CVE-2012-2677.patch @@ -26,7 +26,7 @@ index c47b11f..417a1e0 100644 + size_type max_chunks() const + { //! Calculated maximum number of memory chunks that can be allocated in a single call by this Pool. + size_type partition_size = alloc_size(); -+ size_type POD_size = math::static_lcm::value + sizeof(size_type); ++ size_type POD_size = integer::static_lcm::value + sizeof(size_type); + size_type max_chunks = (std::numeric_limits::max() - POD_size) / alloc_size(); + + return max_chunks;