Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=5d9745fe51269c8cc4123b5af28041d0f6a884ee
commit 5d9745fe51269c8cc4123b5af28041d0f6a884ee Author: crazy <[email protected]> Date: Wed Feb 7 16:04:08 2018 +0100 libtorrent-0.13.6-2-x86_64 * rebuild with tc * added an small patch to fix autoreconf * fix C/CXX Flags * replace build() with _Fbuild_autoreconf diff --git a/source/lib-extra/libtorrent/FrugalBuild b/source/lib-extra/libtorrent/FrugalBuild index c9cd020..04ef466 100644 --- a/source/lib-extra/libtorrent/FrugalBuild +++ b/source/lib-extra/libtorrent/FrugalBuild @@ -3,23 +3,22 @@ pkgname=libtorrent pkgver=0.13.6 -pkgrel=1 +pkgrel=2 pkgdesc="LibTorrent is a BitTorrent library written in C++ for *nix, with a focus on high performance and good code." url="http://libtorrent.rakshasa.no/" depends=('openssl' 'libsigc++2') makedepends=('cppunit') groups=('lib-extra') -archs=('i686' 'x86_64') +archs=('x86_64') up2date="Flasttar https://rakshasa.github.io/rtorrent/" -source=(https://github.com/rakshasa/libtorrent/archive/$pkgver.tar.gz) +source=(https://github.com/rakshasa/libtorrent/archive/$pkgver.tar.gz configure.patch) Fconfopts+=" --enable-static" -sha1sums=('9ca6ca9698f81c758fe934b52374f23588a7cc78') +sha1sums=('9ca6ca9698f81c758fe934b52374f23588a7cc78' \ + '47f1b1d07e5f115c0b118a39e184b592bd54839a') options+=('static') -build() -{ - Fcd - Fautoreconf - Fbuild -} +CFLAGS+=" -fno-strict-aliasing -Wno-terminate" +CXXFLAGS+=" -fno-strict-aliasing -Wno-terminate" +_Fbuild_autoreconf=yes + # optimization OK diff --git a/source/lib-extra/libtorrent/configure.patch b/source/lib-extra/libtorrent/configure.patch new file mode 100644 index 0000000..32ab5fc --- /dev/null +++ b/source/lib-extra/libtorrent/configure.patch @@ -0,0 +1,12 @@ +diff -Naur libtorrent-0.13.6/configure.ac libtorrent-0.13.6-p/configure.ac +--- libtorrent-0.13.6/configure.ac 2015-09-03 20:30:55.000000000 +0200 ++++ libtorrent-0.13.6-p/configure.ac 2018-02-07 15:56:19.472547116 +0100 +@@ -19,8 +19,6 @@ + + AM_INIT_AUTOMAKE + AC_CONFIG_HEADERS(config.h) +-AM_PATH_CPPUNIT(1.9.6) +- + AC_PROG_CXX + + AC_C_BIGENDIAN( _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
