diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-02-06 12:46:01 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-02-06 12:46:01 +0000 |
commit | 98716ea221a8feff7529c44532aa00b943e2abd8 (patch) | |
tree | 36c4930cfcc5d6d2a5894fa4f56db777b54b2b1a /net-p2p/rtorrent | |
parent | Bump to 1.1.0 final version as per bug #117238. (diff) | |
download | gentoo-2-98716ea221a8feff7529c44532aa00b943e2abd8.tar.gz gentoo-2-98716ea221a8feff7529c44532aa00b943e2abd8.tar.bz2 gentoo-2-98716ea221a8feff7529c44532aa00b943e2abd8.zip |
Add patch to fix building on some systems, bug #121771.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'net-p2p/rtorrent')
-rw-r--r-- | net-p2p/rtorrent/ChangeLog | 6 | ||||
-rw-r--r-- | net-p2p/rtorrent/files/rtorrent-0.4.4-inttypes.patch | 12 | ||||
-rw-r--r-- | net-p2p/rtorrent/rtorrent-0.4.4.ebuild | 8 |
3 files changed, 24 insertions, 2 deletions
diff --git a/net-p2p/rtorrent/ChangeLog b/net-p2p/rtorrent/ChangeLog index 1c55834cbf6d..675d90083582 100644 --- a/net-p2p/rtorrent/ChangeLog +++ b/net-p2p/rtorrent/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-p2p/rtorrent # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.33 2006/02/04 23:06:56 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.34 2006/02/06 12:46:01 flameeyes Exp $ + + 06 Feb 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/rtorrent-0.4.4-inttypes.patch, rtorrent-0.4.4.ebuild: + Add patch to fix building on some systems, bug #121771. 04 Feb 2006; Diego Pettenò <flameeyes@gentoo.org> -rtorrent-0.4.0.ebuild, -rtorrent-0.4.1.ebuild, -rtorrent-0.4.2.ebuild: diff --git a/net-p2p/rtorrent/files/rtorrent-0.4.4-inttypes.patch b/net-p2p/rtorrent/files/rtorrent-0.4.4-inttypes.patch new file mode 100644 index 000000000000..b057bd934d12 --- /dev/null +++ b/net-p2p/rtorrent/files/rtorrent-0.4.4-inttypes.patch @@ -0,0 +1,12 @@ +Index: rtorrent/src/command_scheduler.h +=================================================================== +--- rtorrent/src/command_scheduler.h (revision 629) ++++ rtorrent/src/command_scheduler.h (working copy) +@@ -39,6 +39,7 @@ + + #include <vector> + #include <string> ++#include <inttypes.h> + #include <rak/functional_fun.h> + + class CommandSchedulerItem; diff --git a/net-p2p/rtorrent/rtorrent-0.4.4.ebuild b/net-p2p/rtorrent/rtorrent-0.4.4.ebuild index 389d7fe5b797..e28740d0111f 100644 --- a/net-p2p/rtorrent/rtorrent-0.4.4.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.4.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/rtorrent-0.4.4.ebuild,v 1.1 2006/02/04 22:59:56 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/rtorrent-0.4.4.ebuild,v 1.2 2006/02/06 12:46:01 flameeyes Exp $ inherit eutils toolchain-funcs flag-o-matic @@ -18,6 +18,12 @@ DEPEND=">=net-libs/libtorrent-0.8.0 >=net-misc/curl-7.12 sys-libs/ncurses" +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/${P}-inttypes.patch" +} + src_compile() { [[ $(tc-arch) = "x86" ]] && filter-flags -fomit-frame-pointer replace-flags -Os -O2 |