diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-15 12:25:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-15 13:58:55 +0000 |
commit | b3860fe0f36d76d786ed9611daccecb5284add0f (patch) | |
tree | ff95dfa86251e3a6f87cc047b0fbe124680043fe /unmaintained | |
parent | 8d45de8a44e2a5fb617e009bae0167d0c3a53136 (diff) | |
download | aports-b3860fe0f36d76d786ed9611daccecb5284add0f.tar.bz2 aports-b3860fe0f36d76d786ed9611daccecb5284add0f.tar.xz |
testing/boost-coroutine: move to unmaintained
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/boost-coroutine/APKBUILD | 42 | ||||
-rw-r--r-- | unmaintained/boost-coroutine/boost-coroutine-pth.patch | 19 |
2 files changed, 61 insertions, 0 deletions
diff --git a/unmaintained/boost-coroutine/APKBUILD b/unmaintained/boost-coroutine/APKBUILD new file mode 100644 index 0000000000..60a0ee3de9 --- /dev/null +++ b/unmaintained/boost-coroutine/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=boost-coroutine +pkgver=0.0.1 +pkgrel=4 +pkgdesc="coroutine library for boost" +url="http://www.crystalclearsoftware.com/soc/coroutine/" +#arch="noarch" +license="custom:boost" +depends= +depends_dev="boost-dev pth-dev" +install="" +source="boost-coroutine-2009-12-01.tar.gz::http://www.boostpro.com/vault/index.php?action=downloadfile&filename=boost-coroutine-2009-12-01.tar.gz&directory=Concurrent%20Programming + boost-coroutine-pth.patch" + +_builddir="${srcdir}/boost-coroutine" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + return 0 +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir"/usr/include + cp -r "$_builddir"/boost "$pkgdir"/usr/include/boost +} + +md5sums="d74b6aa80aeb09eb08d644710c7849c4 boost-coroutine-2009-12-01.tar.gz +53d3c4752668f0332dc31bd2341db609 boost-coroutine-pth.patch" +sha256sums="0211b773c7528cf3487087a08d35454332f3e63f58c926e43c5933b7783b6a70 boost-coroutine-2009-12-01.tar.gz +b9c7951d47ec200366a17dcf6da634370bc59543d17ef16eb82f2a97d7bb732e boost-coroutine-pth.patch" +sha512sums="acb8644fd3e960fb316ba3436af9bc2e2da91536afd182577358ac061348d7c0a29420308ece188dbc7a58d119dc19c09e7b486f66f1f8f1d6e23a489c183dfe boost-coroutine-2009-12-01.tar.gz +5229bd3f8f89fc1a07356277d0f1319a964b6bc27ea24228f942a67c8cfd3eb038c35284d8c5b58b68163410fa443f60188b8c2fbaad340c3927fd206cdad258 boost-coroutine-pth.patch" diff --git a/unmaintained/boost-coroutine/boost-coroutine-pth.patch b/unmaintained/boost-coroutine/boost-coroutine-pth.patch new file mode 100644 index 0000000000..3a6af66af7 --- /dev/null +++ b/unmaintained/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 { |