diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-07 13:54:50 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-07 13:54:50 +0000 |
commit | 6e80ea4e99ba1fd4f744140a08ab8b39f83f8443 (patch) | |
tree | 492c256967557ccfbc17b35c83df55ce45978c73 /net-analyzer/nethogs | |
parent | Don't build gdbm module if USE=-gdbm for a non-dynamic zsh (#268926) (diff) | |
download | gentoo-2-6e80ea4e99ba1fd4f744140a08ab8b39f83f8443.tar.gz gentoo-2-6e80ea4e99ba1fd4f744140a08ab8b39f83f8443.tar.bz2 gentoo-2-6e80ea4e99ba1fd4f744140a08ab8b39f83f8443.zip |
Fix compile with GCC 4.4
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nethogs')
-rw-r--r-- | net-analyzer/nethogs/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/nethogs/files/nethogs-0.7.0-gcc44.patch | 10 | ||||
-rw-r--r-- | net-analyzer/nethogs/nethogs-0.7.0.ebuild | 5 |
3 files changed, 18 insertions, 3 deletions
diff --git a/net-analyzer/nethogs/ChangeLog b/net-analyzer/nethogs/ChangeLog index e3db60b06c33..40db5d79a376 100644 --- a/net-analyzer/nethogs/ChangeLog +++ b/net-analyzer/nethogs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/nethogs # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.13 2009/04/29 06:50:47 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.14 2009/05/07 13:54:50 ssuominen Exp $ + + 07 May 2009; Samuli Suominen <ssuominen@gentoo.org> nethogs-0.7.0.ebuild, + +files/nethogs-0.7.0-gcc44.patch: + Fix compile with GCC 4.4 *nethogs-0.7.0 (29 Apr 2009) diff --git a/net-analyzer/nethogs/files/nethogs-0.7.0-gcc44.patch b/net-analyzer/nethogs/files/nethogs-0.7.0-gcc44.patch new file mode 100644 index 000000000000..ab1aaf6314f7 --- /dev/null +++ b/net-analyzer/nethogs/files/nethogs-0.7.0-gcc44.patch @@ -0,0 +1,10 @@ +diff -ur nethogs.orig/conninode.cpp nethogs/conninode.cpp +--- nethogs.orig/conninode.cpp 2008-12-06 11:28:29.000000000 +0000 ++++ nethogs/conninode.cpp 2009-05-07 16:53:03.000000000 +0000 +@@ -1,5 +1,6 @@ + #include <netinet/in.h> + #include <map> ++#include <stdio.h> + #include <stdlib.h> + + #include "nethogs.h" diff --git a/net-analyzer/nethogs/nethogs-0.7.0.ebuild b/net-analyzer/nethogs/nethogs-0.7.0.ebuild index 24d85cf7efdc..7f55040c6835 100644 --- a/net-analyzer/nethogs/nethogs-0.7.0.ebuild +++ b/net-analyzer/nethogs/nethogs-0.7.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/nethogs-0.7.0.ebuild,v 1.2 2009/04/29 06:52:33 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/nethogs-0.7.0.ebuild,v 1.3 2009/05/07 13:54:50 ssuominen Exp $ EAPI=2 inherit eutils toolchain-funcs @@ -21,7 +21,8 @@ DEPEND="${RDEPEND}" S=${WORKDIR}/${PN} src_prepare() { - epatch "${FILESDIR}"/${P}-Makefile.patch + epatch "${FILESDIR}"/${P}-Makefile.patch \ + "${FILESDIR}"/${P}-gcc44.patch } src_compile() { |