package/boost: add patch to fix host build with gcc 4.4
authorJörg Krause <joerg.krause@embedded.rocks>
Tue, 5 Jan 2016 11:36:53 +0000 (12:36 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 5 Jan 2016 21:36:37 +0000 (22:36 +0100)
commitd0b17497572a4bcb97d5c8ea9f8d844b8fb9b9ec
tree14b7ca7c4e597ff2a20d941e2275110584c69a4b
parente2274856123fcc387df95675d7a66eb2c576eaa2
package/boost: add patch to fix host build with gcc 4.4

Add patch from upstream [1] to fix a host build with gcc 4.4.x:
  gcc.compile.c++ bin.v2/libs/container/build/gcc-4.4.5/release/threading-multi/pool_resource.o
  libs/container/src/pool_resource.cpp:35: error: declaration of 'typedef class boost::container::pmr::block_slist_base<boost::container::pmr::block_slist_header> boost::container::pmr::pool_data_t::block_slist_base'
  ./boost/container/detail/block_slist.hpp:67: error: changes meaning of 'block_slist_base' from 'class boost::container::pmr::block_slist_base<boost::container::pmr::block_slist_header>'

Fixes:
http://autobuild.buildroot.org/results/3cd/3cdc30a5b6e05de99787a20bf71fcf82842c15b3/
http://autobuild.buildroot.net/results/852/85212dd41db76d4e32efd98736ad8506e1917a8d/
http://autobuild.buildroot.org/results/963/963d102aa1c42efd84447d68d0856074421fbe05/
http://autobuild.buildroot.org/results/a39/a395f91969f79a8a4c0deffca4cdfdad33d48bd0/
.. and many more.

Host build tested on Scientific Linux 6.7 with gcc 4.4.7.

Backported from: a4e9686f8a0258bc30f9da2abab65673d6b9bd50

[1] https://github.com/boostorg/container/commit/a4e9686f8a0258bc30f9da2abab65673d6b9bd50

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/boost/0004-fix-declaration-error-with-gcc-4-4.patch [new file with mode: 0644]