summaryrefslogtreecommitdiffstats
path: root/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-11-21 09:47:04 +0000
committer Eric Hameleers <alien@slackware.com>2017-11-21 09:47:04 +0000
commitabd097b9e160e73b298a13d6cf04e645925f8c7a (patch)
tree43a9fbfc87e912017be9a8ffd0f16775cf193459 /libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
parentf8c503811a3c09f0496190f4260c660f1e6782a6 (diff)
downloadasb-abd097b9e160e73b298a13d6cf04e645925f8c7a.tar.gz
asb-abd097b9e160e73b298a13d6cf04e645925f8c7a.tar.xz
libtorrent-rasterbar: patched for boost 1.65
Diffstat (limited to 'libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild')
-rwxr-xr-xlibtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild b/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
index 4b7816d3..2d2b5552 100755
--- a/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
+++ b/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
@@ -86,6 +86,8 @@
# * Updated to accompany qbittorrent 3.3.10.
# 1.0.11-1: 07/mar/2017 by Eric Hameleers <alien@slackware.com>
# * Updated to accompany qbittorrent 3.3.12.
+# 1.0.11-2: 21/nov/2017 by Eric Hameleers <alien@slackware.com>
+# * Patched and rebuilt for newer boost in -current.
#
# Run 'sh libtorrent-rasterbar.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
@@ -97,8 +99,8 @@
PRGNAM=libtorrent-rasterbar
VERSION=${VERSION:-1.0.11}
-BUILD=${BUILD:-1}
-NUMJOBS=${NUMJOBS:" -j4 "}
+BUILD=${BUILD:-2}
+NUMJOBS=${NUMJOBS:-" -j4 "}
TAG=${TAG:-alien}
DOCS="AUTHORS COPYING ChangeLog NEWS README docs/"
@@ -208,11 +210,15 @@ cd ${PRGNAM}-${VERSION}
chown -R root:root .
chmod -R u+w,go+r-w,a+X-s .
-# Our boost is lower than 1.48 (the patch is harmless if you do have a new
+# Fix for boost older than 1.48 (the patch is harmless if you do have a new
# enough version of boost):
cat $SRCDIR/patches/libtorrent-rasterbar_boost_asio.diff | patch -p1 --verbose \
2>&1 | tee $OUTPUT/patch-${PRGNAM}.log
+# Add support for boost 1.65
+cat $SRCDIR/patches/libtorrent-rasterbar_boost_165.diff | patch -p1 --verbose \
+ 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log
+
# If your boost libraries ship with separate multi-threaded libraries, use them:
if [ -f /usr/lib${LIBDIRSUFFIX}/libboost_system-mt.so ]; then
MT="-mt"