summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-28 20:20:17 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-28 20:20:17 +0000
commit0352ddb7cc984324b0add4819198e118e37abce3 (patch)
tree09a385024750fa062c57af4e9414ba900124eb24 /net-analyzer/ifstatus
parentRemove weird ppc-macos cruft (diff)
downloadgentoo-2-0352ddb7cc984324b0add4819198e118e37abce3.tar.gz
gentoo-2-0352ddb7cc984324b0add4819198e118e37abce3.tar.bz2
gentoo-2-0352ddb7cc984324b0add4819198e118e37abce3.zip
Fix for gcc-4.3, bug #228941. Thanks Olivier Huber <oli.huber@gmail.com>
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686)
Diffstat (limited to 'net-analyzer/ifstatus')
-rw-r--r--net-analyzer/ifstatus/ChangeLog8
-rw-r--r--net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc43.patch10
-rw-r--r--net-analyzer/ifstatus/ifstatus-1.1.0.ebuild8
3 files changed, 20 insertions, 6 deletions
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 <loki_val@gentoo.org>
+ +files/ifstatus-1.1.0-gcc43.patch, ifstatus-1.1.0.ebuild:
+ Fix for gcc-4.3, bug #228941. Thanks Olivier Huber <oli.huber@gmail.com>
31 Mar 2007; Marcelo Goes <vanquirius@gentoo.org> 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 <unistd.h>
+ #include <string.h>
+ #include <curses.h>
++#include <stdlib.h>
+
+ #include <sys/time.h>
+ #include <sys/types.h>
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' \