diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-11-15 12:58:44 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-16 17:32:45 +0000 |
commit | 65333d263e92d6cece36e87f7cd2ccc27d074cec (patch) | |
tree | bf08fa12cd589c6952e249a6a199e93c0bcdfcac /meta/recipes-support/boost/files/unit_test_log10f.patch | |
parent | 7fb529436942015aebd6db0eb55c4a5e1e9c787a (diff) | |
download | poky-65333d263e92d6cece36e87f7cd2ccc27d074cec.tar.gz |
boost: Update to 1.47.0 & Cleanup
Removed boost-jam-native since it was an older version
no incompatible with boost 1.47.
Modified boost to use BBCLASSEXTEND native for the bjam
native binary.
Removed older unused patches.
(From OE-Core rev: 67df7590d0a6600cb9768b3df2b56983a5fe234f)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/boost/files/unit_test_log10f.patch')
-rw-r--r-- | meta/recipes-support/boost/files/unit_test_log10f.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/recipes-support/boost/files/unit_test_log10f.patch b/meta/recipes-support/boost/files/unit_test_log10f.patch deleted file mode 100644 index 8eec589914..0000000000 --- a/meta/recipes-support/boost/files/unit_test_log10f.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | --- boost_1_32_0/libs/test/src/unit_test_result.cpp.orig 2005-07-05 11:00:53.887594850 -0700 | ||
4 | +++ boost_1_32_0/libs/test/src/unit_test_result.cpp 2005-07-05 11:01:20.683533034 -0700 | ||
5 | @@ -144,7 +144,7 @@ | ||
6 | unit_test_counter num_passed, unit_test_counter num_failed ) | ||
7 | { | ||
8 | unit_test_counter total_test_cases = num_passed + num_failed; | ||
9 | - std::size_t width = static_cast<std::size_t>( std::log10( (float)(std::max)( num_passed, num_failed ) ) ) + 1; | ||
10 | + std::size_t width = static_cast<std::size_t>( std::log10( (double)(std::max)( num_passed, num_failed ) ) ) + 1; | ||
11 | |||
12 | where_to << std::setw( indent ) << "" << std::setw( width ) << num_passed | ||
13 | << " test " << ps_name( num_passed != 1, "case" ) << " out of " << total_test_cases << " passed\n" | ||
14 | @@ -158,7 +158,7 @@ | ||
15 | { | ||
16 | unit_test_counter total_assertions = num_passed + num_failed; | ||
17 | std::size_t width = total_assertions > 0 | ||
18 | - ? static_cast<std::size_t>( std::log10( (float)(std::max)( num_passed, num_failed ) ) ) + 1 | ||
19 | + ? static_cast<std::size_t>( std::log10( (double)(std::max)( num_passed, num_failed ) ) ) + 1 | ||
20 | : 1; | ||
21 | |||
22 | where_to << std::setw( indent ) << "" << std::setw( width ) << num_passed | ||