[arch-commits] Commit in libtorrent-rasterbar/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jun 24 02:56:49 UTC 2016


    Date: Friday, June 24, 2016 @ 02:56:48
  Author: felixonmars
Revision: 270545

upgpkg: libtorrent-rasterbar 1:1.1-2

rebuild to enable c++11 mode

Modified:
  libtorrent-rasterbar/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-06-23 21:06:50 UTC (rev 270544)
+++ PKGBUILD	2016-06-24 02:56:48 UTC (rev 270545)
@@ -5,7 +5,7 @@
 
 pkgname=libtorrent-rasterbar
 pkgver=1.1
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around"
 url="http://www.rasterbar.com/products/libtorrent/"
@@ -17,6 +17,11 @@
 source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${pkgver//./_}/$pkgname-$pkgver.tar.gz)
 sha1sums=('ac6e871d3b71a56e849ab1fc6369165a80acfd32')
 
+prepare() {
+  # https://github.com/qbittorrent/qBittorrent/issues/5265#issuecomment-220007436
+  export CXXFLAGS="$CXXFLAGS -std=c++11"
+}
+
 build() {
   cd libtorrent-libtorrent-${pkgver//./_}
   ./autotool.sh



More information about the arch-commits mailing list