summaryrefslogtreecommitdiff
path: root/extra/libtorrent-rasterbar
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-14 01:49:21 -0700
committerroot <root@rshg054.dnsready.net>2013-07-14 01:49:21 -0700
commitd525d9a731f5d79c1128a192b9d2977a2967570f (patch)
tree2a17d6445748cb26dd944abe54a2c52a96162b00 /extra/libtorrent-rasterbar
parentc9952f3a144d9fb19917d7c100dca30d2d99f629 (diff)
Sun Jul 14 01:49:07 PDT 2013
Diffstat (limited to 'extra/libtorrent-rasterbar')
-rw-r--r--extra/libtorrent-rasterbar/PKGBUILD15
-rw-r--r--extra/libtorrent-rasterbar/boost-154.patch11
2 files changed, 22 insertions, 4 deletions
diff --git a/extra/libtorrent-rasterbar/PKGBUILD b/extra/libtorrent-rasterbar/PKGBUILD
index b14bf1b55..1ae9d45b0 100644
--- a/extra/libtorrent-rasterbar/PKGBUILD
+++ b/extra/libtorrent-rasterbar/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 186514 2013-05-28 09:58:04Z ioni $
+# $Id: PKGBUILD 190043 2013-07-13 12:41:37Z svenstaro $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
pkgname=libtorrent-rasterbar
pkgver=0.16.10
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around"
url="http://www.rasterbar.com/products/libtorrent/"
@@ -13,8 +13,15 @@ license=('BSD')
depends=('boost-libs' 'geoip' 'python2')
makedepends=('boost')
options=('!libtool' '!emptydirs')
-source=(http://libtorrent.googlecode.com/files/$pkgname-$pkgver.tar.gz)
-sha1sums=('8b24442132e52f8765c79b20ffdea8b33bc5aa42')
+source=(http://libtorrent.googlecode.com/files/$pkgname-$pkgver.tar.gz
+ 'boost-154.patch')
+sha1sums=('8b24442132e52f8765c79b20ffdea8b33bc5aa42'
+ 'b1e66ffbeba5c2b217bc0d02bc2c49aa6b603fa3')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i "${srcdir}"/boost-154.patch
+}
build() {
cd $pkgname-$pkgver
diff --git a/extra/libtorrent-rasterbar/boost-154.patch b/extra/libtorrent-rasterbar/boost-154.patch
new file mode 100644
index 000000000..5d556310b
--- /dev/null
+++ b/extra/libtorrent-rasterbar/boost-154.patch
@@ -0,0 +1,11 @@
+--- libtorrent-rasterbar-0.16.10/include/libtorrent/disk_buffer_pool.hpp~ 2013-07-11 07:37:03.057798742 +0000
++++ libtorrent-rasterbar-0.16.10/include/libtorrent/disk_buffer_pool.hpp 2013-07-11 07:37:27.110960260 +0000
+@@ -33,6 +33,8 @@
+ #ifndef TORRENT_DISK_BUFFER_POOL
+ #define TORRENT_DISK_BUFFER_POOL
+
++#include <boost/noncopyable.hpp>
++
+ #include "libtorrent/config.hpp"
+ #include "libtorrent/thread.hpp"
+ #include "libtorrent/session_settings.hpp"