diff options
| author | Fabian Affolter <fabian@affolter-engineering.ch> | 2011-12-10 10:15:38 +0000 |
|---|---|---|
| committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2011-12-10 10:15:38 +0000 |
| commit | ca512d5d5d8df5cbacfb9e0b1cdc1f45ae89149b (patch) | |
| tree | 38834d5f27c903ae902e897550053b499c26151d /testing/boost-coroutine/boost-coroutine-pth.patch | |
| parent | 51f554c054599d345525bd9d816eb3009fb80cc4 (diff) | |
| parent | 4fb67906a83bf64c28da07340367614cc32d0245 (diff) | |
| download | aports-ca512d5d5d8df5cbacfb9e0b1cdc1f45ae89149b.tar.bz2 aports-ca512d5d5d8df5cbacfb9e0b1cdc1f45ae89149b.tar.xz | |
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'testing/boost-coroutine/boost-coroutine-pth.patch')
| -rw-r--r-- | testing/boost-coroutine/boost-coroutine-pth.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/boost-coroutine/boost-coroutine-pth.patch b/testing/boost-coroutine/boost-coroutine-pth.patch new file mode 100644 index 000000000..3a6af66af --- /dev/null +++ b/testing/boost-coroutine/boost-coroutine-pth.patch @@ -0,0 +1,19 @@ +--- boost-coroutine.orig/boost/coroutine/detail/context_posix.hpp ++++ boost-coroutine/boost/coroutine/detail/context_posix.hpp +@@ -46,13 +46,10 @@ + #include <boost/config.hpp> + #include <boost/assert.hpp> + +-#if defined(_XOPEN_UNIX) && defined(_XOPEN_VERSION) && _XOPEN_VERSION >= 500 ++#if 1 ++#if 1 + +-// OS X 10.4 -- despite passing the test above -- doesn't support +-// swapcontext() et al. Use GNU Pth workalike functions. +-#if defined(__APPLE__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050) +- +-#include "pth/pth.h" ++#include <pth.h> + #include <cerrno> + + namespace boost { namespace coroutines { namespace detail { |
