diff options
-rw-r--r-- | main/boost/APKBUILD | 14 | ||||
-rw-r--r-- | main/boost/uclibc-stdint.patch | 13 |
2 files changed, 21 insertions, 6 deletions
diff --git a/main/boost/APKBUILD b/main/boost/APKBUILD index b8c13d2e48..3f75c4bcf7 100644 --- a/main/boost/APKBUILD +++ b/main/boost/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=boost -pkgver=1.50.0 +pkgver=1.52.0 _x=${pkgver%%.*} # strip .y.z _y=${pkgver%.*} # strip .z @@ -35,15 +35,16 @@ $pkgname-wave $pkgname-wserialization " source="http://downloads.sourceforge.net/$pkgname/${pkgname}_$_ver.tar.gz + uclibc-stdint.patch " _builddir="$srcdir"/${pkgname}_${_ver} prepare() { cd "$_builddir" - for i in "$srcdir"/*.patch; do - [ -r "$i" ] || continue - msg "Applying $i" - patch -p1 -i "$i" || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir/$i" || return 1;; + esac done # create user-config.jam @@ -133,4 +134,5 @@ wave() { _mvlib wave; } wserialization() { _mvlib wserialization; } -md5sums="dbc07ab0254df3dda6300fd737b3f264 boost_1_50_0.tar.gz" +md5sums="f62451fa646ca392b0fbc08beb23ad12 boost_1_52_0.tar.gz +56e28d906362cf7fa83de8f72b3bc880 uclibc-stdint.patch" diff --git a/main/boost/uclibc-stdint.patch b/main/boost/uclibc-stdint.patch new file mode 100644 index 0000000000..3aed6333d6 --- /dev/null +++ b/main/boost/uclibc-stdint.patch @@ -0,0 +1,13 @@ +--- 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 <boost/context/fcontext.hpp> + + #include <cstddef> ++extern "C" { ++#include <stdint.h> ++} + + #ifdef BOOST_HAS_ABI_HEADERS + # include BOOST_ABI_PREFIX + |