summaryrefslogtreecommitdiffstats
path: root/libtorrent-rasterbar
diff options
context:
space:
mode:
Diffstat (limited to 'libtorrent-rasterbar')
-rwxr-xr-xlibtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild b/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
index aa343d79..b5858918 100755
--- a/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
+++ b/libtorrent-rasterbar/build/libtorrent-rasterbar.SlackBuild
@@ -172,6 +172,11 @@ 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
+# enough version of boost):
+cat $SRCDIR/libtorrent-rasterbar_boost_asio.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"