diff options
author | David Woodfall <dave@dawoodfall.net> | 2018-03-05 00:09:56 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-06 02:04:13 +0700 |
commit | 5349357ec44db657346275b458211b2e794798de (patch) | |
tree | 0dbec90043a7c6a8c78d784f5a1497746ebbad35 /libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild | |
parent | e5a30b2e2aa837853b4a006250bfac7e0a5be649 (diff) | |
download | slackbuilds-5349357ec44db657346275b458211b2e794798de.tar.gz |
libraries/libtorrent-rasterbar: Update for qbittorrent-qt5.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild')
-rw-r--r-- | libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild index d4535e8286..90346d6a01 100644 --- a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild +++ b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=libtorrent-rasterbar VERSION=${VERSION:-1.0.11} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -eu +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -69,8 +69,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# https://github.com/qbittorrent/qBittorrent/issues/6383#issuecomment-281535787 +sed -i -e "s/+ target_specific(),/+ target_specific() + ['-std=c++11'],/" \ + bindings/python/setup.py + CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -std=c++11" \ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ ./configure \ --prefix=/usr \ |