Date: Saturday, November 30, 2013 @ 14:16:49 Author: stativ Revision: 101706
upgpkg: pion 5.0.4-2 boost 1.55 rebuild Added: pion/trunk/include_boost_units.diff Modified: pion/trunk/PKGBUILD --------------------------+ PKGBUILD | 13 ++++++++++--- include_boost_units.diff | 14 ++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-11-30 13:16:11 UTC (rev 101705) +++ PKGBUILD 2013-11-30 13:16:49 UTC (rev 101706) @@ -2,7 +2,7 @@ # Maintainer: Lukas Jirkovsky <l.jirkov...@gmail.com> pkgname=pion pkgver=5.0.4 -pkgrel=1 +pkgrel=2 pkgdesc="A C++ development library for implementing lightweight HTTP interfaces" url="https://github.com/cloudmeter/pion" arch=('i686' 'x86_64') @@ -12,9 +12,16 @@ provides=('pion-net') conflicts=('pion-net') replaces=('pion-net') -source=(https://github.com/cloudmeter/pion/archive/$pkgver.zip) -md5sums=('5807d39beb0c80fdef5b8ad5cee71c1c') +source=(https://github.com/cloudmeter/pion/archive/$pkgver.zip \ + include_boost_units.diff) +md5sums=('5807d39beb0c80fdef5b8ad5cee71c1c' + 'b8c95c443121e4137f107814272c05f8') +prepare() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 < "$srcdir/include_boost_units.diff" || true +} + build() { cd "$srcdir/$pkgname-$pkgver" Added: include_boost_units.diff =================================================================== --- include_boost_units.diff (rev 0) +++ include_boost_units.diff 2013-11-30 13:16:49 UTC (rev 101706) @@ -0,0 +1,14 @@ +diff --git a/include/pion/error.hpp b/include/pion/error.hpp +index 51e8ce3..3e8758c 100644 +--- a/include/pion/error.hpp ++++ b/include/pion/error.hpp +@@ -19,6 +19,9 @@ + #include <boost/exception/info.hpp> + #include <boost/exception/error_info.hpp> + #include <boost/exception/get_error_info.hpp> ++#if BOOST_VERSION >= 104700 ++#include <boost/units/io.hpp> ++#endif + #include <pion/config.hpp> + +