diff options
author | Karol Wojtaszek <sekretarz@gentoo.org> | 2006-06-06 19:55:35 +0000 |
---|---|---|
committer | Karol Wojtaszek <sekretarz@gentoo.org> | 2006-06-06 19:55:35 +0000 |
commit | 9e2824370fb0f9e16656e4dfdbeb50075b6d9e75 (patch) | |
tree | b287e1eeee416442be3b64baddd2eca36b38996c /net-p2p | |
parent | Added support for ppc/ppc64 (diff) | |
download | gentoo-2-9e2824370fb0f9e16656e4dfdbeb50075b6d9e75.tar.gz gentoo-2-9e2824370fb0f9e16656e4dfdbeb50075b6d9e75.tar.bz2 gentoo-2-9e2824370fb0f9e16656e4dfdbeb50075b6d9e75.zip |
Fixed gcc41 compile problems. Thanks to Piotr Jaroszynski, bug #135235
(Portage version: 2.1_rc4-r1)
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/mutella/ChangeLog | 6 | ||||
-rw-r--r-- | net-p2p/mutella/files/digest-mutella-0.4.5 | 2 | ||||
-rw-r--r-- | net-p2p/mutella/files/mutella-0.4.5-gcc41.patch | 10 | ||||
-rw-r--r-- | net-p2p/mutella/mutella-0.4.5.ebuild | 13 |
4 files changed, 28 insertions, 3 deletions
diff --git a/net-p2p/mutella/ChangeLog b/net-p2p/mutella/ChangeLog index d0aa6c0850be..0d5070bde6dd 100644 --- a/net-p2p/mutella/ChangeLog +++ b/net-p2p/mutella/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-p2p/mutella # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/mutella/ChangeLog,v 1.20 2006/01/28 13:29:52 mkay Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/mutella/ChangeLog,v 1.21 2006/06/06 19:55:35 sekretarz Exp $ + + 07 Jun 2006; Karol Wojtaszek <sekretarz@gentoo.org> + +files/mutella-0.4.5-gcc41.patch, mutella-0.4.5.ebuild: + Fixed gcc41 compile problems. Thanks to Piotr Jaroszynski, bug #135235 28 Jan 2006; Marcin Kryczek <mkay@gentoo.org> +files/mutella-gcc33-fix, -files/mutella-gcc33-fix.gz, mutella-0.4.3.ebuild: diff --git a/net-p2p/mutella/files/digest-mutella-0.4.5 b/net-p2p/mutella/files/digest-mutella-0.4.5 index c9ca362c9fb1..de7f5fbcc42a 100644 --- a/net-p2p/mutella/files/digest-mutella-0.4.5 +++ b/net-p2p/mutella/files/digest-mutella-0.4.5 @@ -1 +1,3 @@ MD5 1a676eacf562e3b8de90493f99fe059c mutella-0.4.5.tar.gz 471839 +RMD160 f870ba5ed5c3bf7b852fca49ef358a69bad4da74 mutella-0.4.5.tar.gz 471839 +SHA256 db99dd1fa52fae87290e367862cb051ee1072c88249e73fe25a933ea73030cc4 mutella-0.4.5.tar.gz 471839 diff --git a/net-p2p/mutella/files/mutella-0.4.5-gcc41.patch b/net-p2p/mutella/files/mutella-0.4.5-gcc41.patch new file mode 100644 index 000000000000..38c32136f8ed --- /dev/null +++ b/net-p2p/mutella/files/mutella-0.4.5-gcc41.patch @@ -0,0 +1,10 @@ +--- mutella-0.4.5-orig/mutella/gnushare.h 2002-11-15 21:22:57.000000000 +0100 ++++ mutella-0.4.5/mutella/gnushare.h 2006-06-03 19:18:23.000000000 +0200 +@@ -26,6 +26,7 @@ + #include "mthread.h" + + class MGnuDirector; ++class MShareThread; + + class MGnuShare + { diff --git a/net-p2p/mutella/mutella-0.4.5.ebuild b/net-p2p/mutella/mutella-0.4.5.ebuild index 03df2eba0db6..42aea7d4f375 100644 --- a/net-p2p/mutella/mutella-0.4.5.ebuild +++ b/net-p2p/mutella/mutella-0.4.5.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/mutella/mutella-0.4.5.ebuild,v 1.4 2005/04/08 18:03:12 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/mutella/mutella-0.4.5.ebuild,v 1.5 2006/06/06 19:55:35 sekretarz Exp $ + +inherit eutils DESCRIPTION="Text-mode gnutella client" SRC_URI="mirror://sourceforge/mutella/${P}.tar.gz" @@ -12,6 +14,13 @@ IUSE="debug" DEPEND="virtual/libc sys-libs/readline" +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-gcc41.patch +} + src_compile() { econf --enable-optimization \ `use_enable debug` || die "econf failed" |