From 1a4bdcb47bcc2147c5163a9991cbf8f0ba7aaa73 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 16 Jun 2014 12:36:39 +0200 Subject: [PATCH] rtorrent: update to 0.9.4. --- .../patches/rtorrent-cross_compile.patch | 25 ------------------- srcpkgs/rtorrent/template | 13 +++++----- 2 files changed, 7 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/rtorrent/patches/rtorrent-cross_compile.patch diff --git a/srcpkgs/rtorrent/patches/rtorrent-cross_compile.patch b/srcpkgs/rtorrent/patches/rtorrent-cross_compile.patch deleted file mode 100644 index 1298785691..0000000000 --- a/srcpkgs/rtorrent/patches/rtorrent-cross_compile.patch +++ /dev/null @@ -1,25 +0,0 @@ -Fix cross compilation, based on OpenWRT patch. - -Signed-off-by: Gustavo Zacarias - ---- configure.ac 2012-04-20 03:55:30.000000000 -0300 -+++ configure.ac 2012-05-09 11:06:49.436474039 -0300 -@@ -4,7 +4,6 @@ - - AM_INIT_AUTOMAKE - AM_CONFIG_HEADER(config.h) --AM_PATH_CPPUNIT(1.9.6) - - AC_PROG_CXX - AC_PROG_LIBTOOL ---- scripts/common.m4 2012-03-13 09:10:49.000000000 -0300 -+++ scripts/common.m4 2012-05-09 11:05:56.620102678 -0300 -@@ -223,7 +223,7 @@ - AC_DEFUN([TORRENT_CHECK_EXECINFO], [ - AC_MSG_CHECKING(for execinfo.h) - -- AC_RUN_IFELSE([AC_LANG_SOURCE([ -+ AC_LINK_IFELSE([AC_LANG_SOURCE([ - #include - int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;} - ])], diff --git a/srcpkgs/rtorrent/template b/srcpkgs/rtorrent/template index a5d385b84e..6609272e74 100644 --- a/srcpkgs/rtorrent/template +++ b/srcpkgs/rtorrent/template @@ -1,19 +1,20 @@ # Template file for 'rtorrent' pkgname=rtorrent -version=0.9.2 -revision=3 +version=0.9.4 +revision=1 build_style=gnu-configure hostmakedepends="automake libtool pkg-config" -makedepends="libcurl-devel libsigc++-devel libtorrent-devel>=0.13.2 ncurses-devel" -depends="libtorrent>=0.13.2" +makedepends="libcurl-devel libsigc++-devel libtorrent-devel>=0.13.4 ncurses-devel" short_desc="Ncurses BitTorrent client based on libTorrent" maintainer="Juan RP " homepage="http://libtorrent.rakshasa.no" license="GPL-2" distfiles="http://libtorrent.rakshasa.no/downloads/$pkgname-$version.tar.gz" -checksum=5c8f8c780bee376afce3c1cde2f5ecb928f40bac23b2b8171deed5cf3c888c3d +checksum=bc0a2c1ee613b68f37021beaf4e64a9252f91ed06f998c1e897897c354ce7e84 pre_configure() { - sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac + # Drop cppunit requirement + sed '/AM_PATH_CPPUNIT.*/d' -i configure.ac autoreconf -fi + sed -e 's,test "$cross_compiling" = yes, false,' -i configure }