Skip to content

Instantly share code, notes, and snippets.

@legnaleurc
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save legnaleurc/446b345b24cbcadd8677 to your computer and use it in GitHub Desktop.
Save legnaleurc/446b345b24cbcadd8677 to your computer and use it in GitHub Desktop.
boost1.55_coroutine.patch
Index: debian/changelog
===================================================================
--- debian/changelog (revision 14903)
+++ debian/changelog (working copy)
@@ -1,3 +1,9 @@
+boost1.55 (1.55.0+dfsg-4.1~coroutine1) experimental; urgency=low
+
+ * Enable coroutine shared library.
+
+ -- Wei-Cheng Pan <legnaleurc@gmail.com> Fri, 26 Jun 2015 04:34:46 +0000
+
boost1.55 (1.55.0+dfsg-4) unstable; urgency=medium
* patches/eec808554936ae068b23df07ab54d4dc6302a695.patch: New. Upstream
Index: debian/control
===================================================================
--- debian/control (revision 14903)
+++ debian/control (working copy)
@@ -357,6 +357,31 @@
to C# keyword yield in C++.
Conflicts: libboost-context1.53-dev, libboost-context1.54-dev
+Package: libboost-coroutine1.55.0
+Homepage: http://www.boost.org/libs/coroutine/
+Architecture: any
+Multi-Arch: same
+Section: libs
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Description: provides a sort of cooperative multitasking on a single thread
+ This package forms part of the Boost C++ Libraries collection.
+ .
+ Boost.Coroutine provides templates for generalized subroutines which
+ allow multiple entry points for suspending and resuming execution at
+ certain locations. It preserves the local state of execution and
+ allows re-entering subroutines more than once (useful if state must
+ be kept across function calls).
+ .
+ Coroutines can be viewed as a language-level construct providing a
+ special kind of control flow.
+ .
+ In contrast to threads, which are pre-emptive, coroutine switches are
+ cooperative (programmer controls when a switch will happen). The
+ kernel is not involved in the coroutine switches.
+ .
+ The implementation uses Boost.Context for context switching.
+
Package: libboost-coroutine1.55-dev
Homepage: http://www.boost.org/libs/coroutine/
Architecture: any
@@ -364,7 +389,8 @@
Section: libdevel
Depends: ${misc:Depends},
libboost1.55-dev (= ${binary:Version}),
- libboost-context1.55-dev (= ${binary:Version})
+ libboost-context1.55-dev (= ${binary:Version}),
+ libboost-coroutine1.55.0 (= ${binary:Version})
Description: provides a sort of cooperative multitasking on a single thread
This package forms part of the Boost C++ Libraries collection.
.
Index: debian/control.in
===================================================================
--- debian/control.in (revision 14903)
+++ debian/control.in (working copy)
@@ -357,6 +357,31 @@
to C# keyword yield in C++.
Conflicts: libboost-context1.53-dev, libboost-context1.54-dev
+Package: libboost-coroutine1.55.0
+Homepage: http://www.boost.org/libs/coroutine/
+Architecture: any
+Multi-Arch: same
+Section: libs
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Description: provides a sort of cooperative multitasking on a single thread
+ This package forms part of the Boost C++ Libraries collection.
+ .
+ Boost.Coroutine provides templates for generalized subroutines which
+ allow multiple entry points for suspending and resuming execution at
+ certain locations. It preserves the local state of execution and
+ allows re-entering subroutines more than once (useful if state must
+ be kept across function calls).
+ .
+ Coroutines can be viewed as a language-level construct providing a
+ special kind of control flow.
+ .
+ In contrast to threads, which are pre-emptive, coroutine switches are
+ cooperative (programmer controls when a switch will happen). The
+ kernel is not involved in the coroutine switches.
+ .
+ The implementation uses Boost.Context for context switching.
+
Package: libboost-coroutine1.55-dev
Homepage: http://www.boost.org/libs/coroutine/
Architecture: any
@@ -364,7 +389,8 @@
Section: libdevel
Depends: ${misc:Depends},
libboost1.55-dev (= ${binary:Version}),
- libboost-context1.55-dev (= ${binary:Version})
+ libboost-context1.55-dev (= ${binary:Version}),
+ libboost-coroutine1.55.0 (= ${binary:Version})
Description: provides a sort of cooperative multitasking on a single thread
This package forms part of the Boost C++ Libraries collection.
.
Index: debian/rules
===================================================================
--- debian/rules (revision 14903)
+++ debian/rules (working copy)
@@ -243,7 +243,6 @@
# Specify the type of files/links to install.
# Special cases first, then general rule
-boost_filetypes_coroutine = a
boost_filetypes_exception = a
boost_filetypes_test_exec_monitor = a
boost_filetypes = $(if $(boost_filetypes_$(1)), $(boost_filetypes_$(1)),a so ln)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment