commit 48499d5f3bd516b04f5b2fd1152978b5f2a1d05f
parent 0b7a2baa6223434546ff963e669278552163d0e2
Author: Ted Hess <thess@kitschensync.net>
Date: Mon, 14 Nov 2016 06:49:13 -0500
Merge pull request #3510 from ClaymorePT/boost_1_62_5
boost: Patch to support Fiber
Diffstat:
2 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/libs/boost/Makefile b/libs/boost/Makefile
@@ -18,7 +18,7 @@ include $(INCLUDE_DIR)/target.mk
PKG_NAME:=boost
PKG_VERSION:=1.62.0
PKG_SOURCE_VERSION:=1_62_0
-PKG_RELEASE:=4
+PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)_$(PKG_SOURCE_VERSION).tar.bz2
PKG_SOURCE_URL:=https://sourceforge.net/projects/boost/files/boost/$(PKG_VERSION)
@@ -253,7 +253,6 @@ define Package/boost/config
prompt "Boost $(lib) library."
default m if ALL
$(if $(findstring locale,$(lib)),depends on BUILD_NLS,)\
- $(if $(findstring fiber,$(lib)),depends on BROKEN,)\
$(if $(findstring python,$(lib)),depends on PACKAGE_$(lib),)
)
@@ -303,7 +302,7 @@ $(eval $(call DefineBoostLibrary,context,chrono system thread,))
$(eval $(call DefineBoostLibrary,coroutine,system chrono context thread,))
$(eval $(call DefineBoostLibrary,date_time,,))
#$(eval $(call DefineBoostLibrary,exception,,))
-$(eval $(call DefineBoostLibrary,fiber,coroutine,,BROKEN))
+$(eval $(call DefineBoostLibrary,fiber,coroutine,,))
$(eval $(call DefineBoostLibrary,filesystem,system,))
$(eval $(call DefineBoostLibrary,graph,regex,))
$(eval $(call DefineBoostLibrary,iostreams,,+zlib))
diff --git a/libs/boost/patches/01_fiber_fix.patch b/libs/boost/patches/01_fiber_fix.patch
@@ -0,0 +1,25 @@
+Index: boost_1_62_0/libs/fiber/build/Jamfile.v2
+===================================================================
+--- boost_1_62_0.orig/libs/fiber/build/Jamfile.v2
++++ boost_1_62_0/libs/fiber/build/Jamfile.v2
+@@ -43,19 +43,6 @@ lib boost_fiber
+ recursive_timed_mutex.cpp
+ timed_mutex.cpp
+ scheduler.cpp
+- : <link>shared:<library>../../context/build//boost_context
+- [ requires cxx11_auto_declarations
+- cxx11_constexpr
+- cxx11_defaulted_functions
+- cxx11_final
+- cxx11_hdr_tuple
+- cxx11_lambdas
+- cxx11_noexcept
+- cxx11_nullptr
+- cxx11_rvalue_references
+- cxx11_template_aliases
+- cxx11_thread_local
+- cxx11_variadic_templates ]
+- ;
++ : <link>shared:<library>../../context/build//boost_context ;
+
+ boost-install boost_fiber ;