summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-28 20:31:41 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-28 20:31:41 +0000
commit9ebda9b6258d6c7f543ed20696ffd7c3820e861c (patch)
treed44470a87bedcbb4456d495f581e8253f22c7fc2 /net-analyzer/iptstate
parentFix for gcc-4.3, bug #228941. Thanks Olivier Huber <oli.huber@gmail.com> (diff)
downloadhistorical-9ebda9b6258d6c7f543ed20696ffd7c3820e861c.tar.gz
historical-9ebda9b6258d6c7f543ed20696ffd7c3820e861c.tar.bz2
historical-9ebda9b6258d6c7f543ed20696ffd7c3820e861c.zip
Fix for gcc-4.3, bug #228759. Thanks Graham Murray <graham@gmurray.org.uk>.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25.8 i686
Diffstat (limited to 'net-analyzer/iptstate')
-rw-r--r--net-analyzer/iptstate/ChangeLog7
-rw-r--r--net-analyzer/iptstate/Manifest5
-rw-r--r--net-analyzer/iptstate/files/iptstate-2.2.1-gcc43.patch10
-rw-r--r--net-analyzer/iptstate/iptstate-2.2.1.ebuild8
4 files changed, 25 insertions, 5 deletions
diff --git a/net-analyzer/iptstate/ChangeLog b/net-analyzer/iptstate/ChangeLog
index 144086d1b7d3..91a0c2b717c1 100644
--- a/net-analyzer/iptstate/ChangeLog
+++ b/net-analyzer/iptstate/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/iptstate
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptstate/ChangeLog,v 1.30 2008/01/18 18:35:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptstate/ChangeLog,v 1.31 2008/06/28 20:31:41 loki_val Exp $
+
+ 28 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/iptstate-2.2.1-gcc43.patch, iptstate-2.2.1.ebuild:
+ Fix for gcc-4.3, bug #228759. Thanks Graham Murray
+ <graham@gmurray.org.uk>.
18 Jan 2008; Raúl Porcel <armin76@gentoo.org> -iptstate-2.1.ebuild,
iptstate-2.2.1.ebuild:
diff --git a/net-analyzer/iptstate/Manifest b/net-analyzer/iptstate/Manifest
index 4e534347a866..2059c4553b5a 100644
--- a/net-analyzer/iptstate/Manifest
+++ b/net-analyzer/iptstate/Manifest
@@ -1,4 +1,5 @@
+AUX iptstate-2.2.1-gcc43.patch 308 RMD160 fa403c5bf73c67e4e591369008f4d5021a8bf471 SHA1 f2079991d6b37d274e82dbae11b664973c0668b2 SHA256 5e8a1c4f4d0c75eded4e30c5ec6599ac04e71a9be023784bc0527448f3a7a6d3
DIST iptstate-2.2.1.tar.bz2 28143 RMD160 ac0d3dc69809247cbbfda2221c7ca75b26fc544a SHA1 d0ea80363c55feea189c0ebc83d0c24e45447b91 SHA256 004f8358f4f84d90a260a76ac46ce8512126ac490d73460fcee6c11effd34362
-EBUILD iptstate-2.2.1.ebuild 718 RMD160 988110d059ca5f3085924d231da69d61259a6fe0 SHA1 8f55e688d3f24639a8d7e172f5eb58130e4a051e SHA256 c417e4d2646411c73eef663a6bb11595d949382a581082f98beac629a2e53292
-MISC ChangeLog 3248 RMD160 c2f41101ab0dc215740e17a41ade1dd018c988ae SHA1 ded3062791bd13bf76bbc7e0a361f6e1ea772313 SHA256 e6fa705208e44f801d5191a9e5dbf016c32cf288325fd3faa37e49d9e0655bd6
+EBUILD iptstate-2.2.1.ebuild 769 RMD160 c46568fa105a4055517d4d511f8ac4b47f1489b1 SHA1 112abd9883bb973c21c66705586101fd95b43eca SHA256 fd2c130db8a0cee79af0ec1b4d6213ce2559a9af13379e6b2a5c46c3eb3672f4
+MISC ChangeLog 3443 RMD160 cfafdd40267cfd189179ab17586b9c726336cf1a SHA1 cca2858c9503c24ba1eaeeb47125799670c3e27d SHA256 1ac36e6474421be4f4276e1d5fc4b97ac3ee8cf96e1474368e03161d314be1cb
MISC metadata.xml 270 RMD160 ceb1951689a2b179ecaf38e7b6a8762df3c93a02 SHA1 4e7662f9e6f49eb3133efbc8fce12f0620f67e71 SHA256 30e60868058dfd581cd7d3abe9dc53d457f2142a200b931e356f5518379817cc
diff --git a/net-analyzer/iptstate/files/iptstate-2.2.1-gcc43.patch b/net-analyzer/iptstate/files/iptstate-2.2.1-gcc43.patch
new file mode 100644
index 000000000000..163ebd4981fe
--- /dev/null
+++ b/net-analyzer/iptstate/files/iptstate-2.2.1-gcc43.patch
@@ -0,0 +1,10 @@
+--- iptstate.cc~ 2007-03-19 07:43:49.000000000 +0100
++++ iptstate.cc 2008-06-23 14:44:23.438816806 +0200
+@@ -55,6 +55,7 @@
+ #include <netdb.h>
+ #include <arpa/inet.h>
+ #include <math.h>
++#include <cstring>
+ #ifndef IPTSTATE_USE_PROC
+ extern "C" {
+ #include <libnetfilter_conntrack/libnetfilter_conntrack.h>
diff --git a/net-analyzer/iptstate/iptstate-2.2.1.ebuild b/net-analyzer/iptstate/iptstate-2.2.1.ebuild
index 25959a985f81..0c010ea7128a 100644
--- a/net-analyzer/iptstate/iptstate-2.2.1.ebuild
+++ b/net-analyzer/iptstate/iptstate-2.2.1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptstate/iptstate-2.2.1.ebuild,v 1.8 2008/01/18 18:35:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptstate/iptstate-2.2.1.ebuild,v 1.9 2008/06/28 20:31:41 loki_val Exp $
+
+inherit base
DESCRIPTION="IP Tables State displays states being kept by iptables in a top-like format"
SRC_URI="http://www.phildev.net/iptstate/${P}.tar.bz2"
@@ -14,11 +16,13 @@ LICENSE="as-is"
KEYWORDS="~amd64 ~hppa ~ppc sparc x86"
IUSE=""
+PATCHES=( "${FILESDIR}/${P}-gcc43.patch" )
+
src_compile() {
emake || die "emake failed"
}
src_install() {
make PREFIX="${D}"/usr install || die
- dodoc README Changelog BUGS CONTRIB LICENSE WISHLIST
+ dodoc README Changelog BUGS CONTRIB WISHLIST
}