From 0352ddb7cc984324b0add4819198e118e37abce3 Mon Sep 17 00:00:00 2001 From: Peter Alfredsen Date: Sat, 28 Jun 2008 20:20:17 +0000 Subject: Fix for gcc-4.3, bug #228941. Thanks Olivier Huber (Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686) --- net-analyzer/ifstatus/ChangeLog | 8 ++++++-- net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc43.patch | 10 ++++++++++ net-analyzer/ifstatus/ifstatus-1.1.0.ebuild | 8 ++++---- 3 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc43.patch (limited to 'net-analyzer/ifstatus') diff --git a/net-analyzer/ifstatus/ChangeLog b/net-analyzer/ifstatus/ChangeLog index 15faa751ccc6..effcb9f5e146 100644 --- a/net-analyzer/ifstatus/ChangeLog +++ b/net-analyzer/ifstatus/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/ifstatus -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifstatus/ChangeLog,v 1.3 2007/03/31 16:29:23 vanquirius Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifstatus/ChangeLog,v 1.4 2008/06/28 20:20:16 loki_val Exp $ + + 28 Jun 2008; Peter Alfredsen + +files/ifstatus-1.1.0-gcc43.patch, ifstatus-1.1.0.ebuild: + Fix for gcc-4.3, bug #228941. Thanks Olivier Huber 31 Mar 2007; Marcelo Goes ifstatus-1.1.0.ebuild: Mark 1.1.0 x86 stable. Do not set RDEPEND=DEPEND, add note about configuring diff --git a/net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc43.patch b/net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc43.patch new file mode 100644 index 000000000000..fb4d1e855889 --- /dev/null +++ b/net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc43.patch @@ -0,0 +1,10 @@ +--- Main.h~ 2006-01-17 01:49:50.000000000 +0100 ++++ Main.h 2008-06-22 20:21:02.434437686 +0200 +@@ -38,6 +38,7 @@ + #include + #include + #include ++#include + + #include + #include diff --git a/net-analyzer/ifstatus/ifstatus-1.1.0.ebuild b/net-analyzer/ifstatus/ifstatus-1.1.0.ebuild index 94136c1462e8..c93961593c80 100644 --- a/net-analyzer/ifstatus/ifstatus-1.1.0.ebuild +++ b/net-analyzer/ifstatus/ifstatus-1.1.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifstatus/ifstatus-1.1.0.ebuild,v 1.3 2007/03/31 16:29:23 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifstatus/ifstatus-1.1.0.ebuild,v 1.4 2008/06/28 20:20:16 loki_val Exp $ -inherit toolchain-funcs +inherit eutils toolchain-funcs KEYWORDS="~amd64 ~ppc x86" @@ -20,7 +20,7 @@ S="${WORKDIR}/${PN}" src_unpack() { unpack ${A} cd "${S}" - + epatch "${FILESDIR}/${P}-gcc43.patch" sed -i \ -e '/^GCC/d' \ -e '/^CFLAGS/d' \ -- cgit v1.2.3-65-gdbad