diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-24 09:39:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-24 09:40:06 +0000 |
commit | 1e3426701a2917b7c3f8866d97af2dcef9799724 (patch) | |
tree | 1833f4b0aadc3605de4f223d085db190d4298948 | |
parent | 957e76dcad928a8c048a0f62aa79c7625538b00a (diff) | |
download | aports-1e3426701a2917b7c3f8866d97af2dcef9799724.tar.bz2 aports-1e3426701a2917b7c3f8866d97af2dcef9799724.tar.xz |
testing/libtorrent-rasterbar: disable sse4
Backport of upstream fix:
https://github.com/arvidn/libtorrent/commit/680eddf3d421f97ba01e8c162b263f31693ba352
This is needed for building on arm
-rw-r--r-- | testing/libtorrent-rasterbar/APKBUILD | 17 | ||||
-rw-r--r-- | testing/libtorrent-rasterbar/no-sse.patch | 13 |
2 files changed, 23 insertions, 7 deletions
diff --git a/testing/libtorrent-rasterbar/APKBUILD b/testing/libtorrent-rasterbar/APKBUILD index 7e5242d2d7..71b2b3f18f 100644 --- a/testing/libtorrent-rasterbar/APKBUILD +++ b/testing/libtorrent-rasterbar/APKBUILD @@ -4,17 +4,18 @@ pkgname=libtorrent-rasterbar pkgver=1.1.0 _pkgver=${pkgver%.0} _pkgver=${_pkgver//./_} -pkgrel=0 +pkgrel=1 pkgdesc="A feature complete C++ bittorrent implementation" url="http://www.rasterbar.com/products/libtorrent" arch="all" license="BSD" depends="" -depends_dev="boost-dev geoip-dev openssl-dev python-dev" +depends_dev="boost-dev openssl-dev python-dev" makedepends="$depends_dev linux-headers" install="" subpackages="$pkgname-dev" -source="https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz" +source="https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz + no-sse.patch" builddir="$srcdir"/$pkgname-$pkgver @@ -25,7 +26,6 @@ build() { --host=$CHOST \ --prefix=/usr \ --enable-python-binding \ - --with-libgeoip=system \ --with-boost-system=boost_system || return 1 make || return 1 } @@ -34,6 +34,9 @@ package() { make DESTDIR="$pkgdir" install || return 1 } -md5sums="3a291044b5b33fec3e30b22a94fda31f libtorrent-rasterbar-1.1.0.tar.gz" -sha256sums="2713df7da4aec5263ac11b6626ea966f368a5a8081103fd8f2f2ed97b5cd731d libtorrent-rasterbar-1.1.0.tar.gz" -sha512sums="5770e3b243605aabe94951f0d3774a1a928b87690c0ba9f8a093ecf90852cf1c76d29a477ab0efc4a352802ca9b405d5c00a5dcdc8d03c6c1644aabe6ad020df libtorrent-rasterbar-1.1.0.tar.gz" +md5sums="3a291044b5b33fec3e30b22a94fda31f libtorrent-rasterbar-1.1.0.tar.gz +f39ebf9c50eebb31359cd08449620eb2 no-sse.patch" +sha256sums="2713df7da4aec5263ac11b6626ea966f368a5a8081103fd8f2f2ed97b5cd731d libtorrent-rasterbar-1.1.0.tar.gz +2bccddf807b532f2dc234229e38d0a714c713e6338bac55d114c6cc2ce778dfa no-sse.patch" +sha512sums="5770e3b243605aabe94951f0d3774a1a928b87690c0ba9f8a093ecf90852cf1c76d29a477ab0efc4a352802ca9b405d5c00a5dcdc8d03c6c1644aabe6ad020df libtorrent-rasterbar-1.1.0.tar.gz +0ed0f4e0106dc0d84bf7781abb14ca37e0ceeb967017951ac3847ba6b0d5e286a76b153977a3158c8e3fe32f363215c8afed222f5c2b135121285fc8d9126e68 no-sse.patch" diff --git a/testing/libtorrent-rasterbar/no-sse.patch b/testing/libtorrent-rasterbar/no-sse.patch new file mode 100644 index 0000000000..d0f1c02914 --- /dev/null +++ b/testing/libtorrent-rasterbar/no-sse.patch @@ -0,0 +1,13 @@ +workaround. fixed upstream: +https://github.com/arvidn/libtorrent/commit/680eddf3d421f97ba01e8c162b263f31693ba352 + +--- ./configure.orig ++++ ./configure +@@ -20267,7 +20267,6 @@ + + COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 " + +-COMPILETIME_OPTIONS="$COMPILETIME_OPTIONS -msse4.2 " + + + $as_echo "#define BOOST_EXCEPTION_DISABLE 1" >>confdefs.h |