summaryrefslogtreecommitdiffstats
path: root/libraries/libtorrent/libtorrent.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libtorrent/libtorrent.SlackBuild')
-rw-r--r--libraries/libtorrent/libtorrent.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/libraries/libtorrent/libtorrent.SlackBuild b/libraries/libtorrent/libtorrent.SlackBuild
index feb2231046..48f7d5e85e 100644
--- a/libraries/libtorrent/libtorrent.SlackBuild
+++ b/libraries/libtorrent/libtorrent.SlackBuild
@@ -5,13 +5,13 @@
# Updated by Andrew Brouwers, abrouwers@gmail.com
PRGNAM=libtorrent
-VERSION=${VERSION:-0.13.6}
+VERSION=${VERSION:-0.13.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -22,7 +22,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -51,6 +51,10 @@ 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 {} \;
+# Added OpenSSL 1.1 support.
+patch -p1 < $CWD/4607bbf7.patch
+
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \