diff options
author | Cédric Krier <cedk@gentoo.org> | 2008-03-31 18:00:44 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2008-03-31 18:00:44 +0000 |
commit | 2f58ff4d1c6dbd6f39fa615d50c330fda3440da7 (patch) | |
tree | ae5ebfdf01f2ce4fdae71f3a7d7afdd464f358ed /net-analyzer/tcptrack | |
parent | stable x86, bug 210720 (diff) | |
download | gentoo-2-2f58ff4d1c6dbd6f39fa615d50c330fda3440da7.tar.gz gentoo-2-2f58ff4d1c6dbd6f39fa615d50c330fda3440da7.tar.bz2 gentoo-2-2f58ff4d1c6dbd6f39fa615d50c330fda3440da7.zip |
Add patch for bug #213957 also for 1.2.0
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-analyzer/tcptrack')
-rw-r--r-- | net-analyzer/tcptrack/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/tcptrack/files/tcptrack-1.2.0-string_h.patch | 11 | ||||
-rw-r--r-- | net-analyzer/tcptrack/tcptrack-1.2.0.ebuild | 12 |
3 files changed, 25 insertions, 4 deletions
diff --git a/net-analyzer/tcptrack/ChangeLog b/net-analyzer/tcptrack/ChangeLog index 55f6e2022143..3fee24740107 100644 --- a/net-analyzer/tcptrack/ChangeLog +++ b/net-analyzer/tcptrack/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/tcptrack # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptrack/ChangeLog,v 1.18 2008/03/31 17:55:04 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptrack/ChangeLog,v 1.19 2008/03/31 18:00:43 cedk Exp $ + + 31 Mar 2008; Cédric Krier <cedk@gentoo.org> + +files/tcptrack-1.2.0-string_h.patch, tcptrack-1.2.0.ebuild: + Add patch for bug #213957 also for 1.2.0 31 Mar 2008; Cédric Krier <cedk@gentoo.org> +files/tcptrack-1.3.0-string_h.patch, tcptrack-1.3.0.ebuild: diff --git a/net-analyzer/tcptrack/files/tcptrack-1.2.0-string_h.patch b/net-analyzer/tcptrack/files/tcptrack-1.2.0-string_h.patch new file mode 100644 index 000000000000..7ce9bfe64488 --- /dev/null +++ b/net-analyzer/tcptrack/files/tcptrack-1.2.0-string_h.patch @@ -0,0 +1,11 @@ +diff -ru tcptrack-1.2.0~/src/util.cc tcptrack-1.2.0/src/util.cc +--- tcptrack-1.2.0~/src/util.cc 2008-03-31 19:57:17.000000000 +0200 ++++ tcptrack-1.2.0/src/util.cc 2008-03-31 19:57:38.000000000 +0200 +@@ -21,6 +21,7 @@ + */ + #include "util.h" + #include <stdio.h> ++#include <string.h> + #include "headers.h" + #ifdef HAVE_HASH_MAP + # include <hash_map> diff --git a/net-analyzer/tcptrack/tcptrack-1.2.0.ebuild b/net-analyzer/tcptrack/tcptrack-1.2.0.ebuild index b1273365d1de..6959edd60f63 100644 --- a/net-analyzer/tcptrack/tcptrack-1.2.0.ebuild +++ b/net-analyzer/tcptrack/tcptrack-1.2.0.ebuild @@ -1,6 +1,6 @@ -# 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/tcptrack/tcptrack-1.2.0.ebuild,v 1.2 2007/07/09 17:28:23 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptrack/tcptrack-1.2.0.ebuild,v 1.3 2008/03/31 18:00:43 cedk Exp $ inherit eutils @@ -16,7 +16,13 @@ IUSE="" DEPEND="net-libs/libpcap sys-libs/ncurses" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-string_h.patch +} + src_install() { einstall || die - dodoc AUTHORS COPYING ChangeLog NEWS README TODO + dodoc AUTHORS ChangeLog NEWS README TODO } |