From dd660381e09de8124c12579462c08ee940a3bddc Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 11 Dec 2012 17:22:30 +0000 Subject: [PATCH] boost: fix build failure Such build failure was reported several times: gcc.compile.c++ bin.v2/libs/context/build/gcc-i386/release/link-static/threading-multi/fcontext.o libs/context/src/fcontext.cpp: In function 'void* boost::ctx::detail::align_stack(void*)': libs/context/src/fcontext.cpp:25:21: error: 'uintptr_t' was not declared in this scope libs/context/src/fcontext.cpp:25:32: error: expected ')' before 'base' libs/context/src/fcontext.cpp:26:66: error: expected ')' before ';' token libs/context/src/fcontext.cpp:26:66: error: expected ')' before ';' token Signed-off-by: Florian Fainelli SVN-Revision: 34635 --- libs/boost/patches/200-cstdint_missing_include.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 libs/boost/patches/200-cstdint_missing_include.patch diff --git a/libs/boost/patches/200-cstdint_missing_include.patch b/libs/boost/patches/200-cstdint_missing_include.patch new file mode 100644 index 000000000..4cb778de8 --- /dev/null +++ b/libs/boost/patches/200-cstdint_missing_include.patch @@ -0,0 +1,12 @@ +--- a/libs/context/src/fcontext.cpp.new 2012-12-11 17:59:59.349131458 +0100 ++++ b/libs/context/src/fcontext.cpp 2012-12-11 18:00:06.925131652 +0100 +@@ -9,6 +9,9 @@ + #include + + #include ++extern "C" { ++#include ++} + + #ifdef BOOST_HAS_ABI_HEADERS + # include BOOST_ABI_PREFIX -- 2.30.2