summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2005-11-29 21:23:00 +0000
committerHanno Böck <hanno@gentoo.org>2005-11-29 21:23:00 +0000
commit84a72cd41ef70704904e9d6b4b0fccdaf5aff2f3 (patch)
tree3059600a9b897fee33e8a2e84706c9aeced4926b /net-analyzer
parentgwenview version bump (diff)
downloadgentoo-2-84a72cd41ef70704904e9d6b4b0fccdaf5aff2f3.tar.gz
gentoo-2-84a72cd41ef70704904e9d6b4b0fccdaf5aff2f3.tar.bz2
gentoo-2-84a72cd41ef70704904e9d6b4b0fccdaf5aff2f3.zip
nmap gcc41 fix
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nmap/ChangeLog6
-rw-r--r--net-analyzer/nmap/files/nmap-3.93-gcc41.patch11
-rw-r--r--net-analyzer/nmap/nmap-3.93.ebuild7
3 files changed, 22 insertions, 2 deletions
diff --git a/net-analyzer/nmap/ChangeLog b/net-analyzer/nmap/ChangeLog
index 634c7bb9bffe..5f60c9d6e382 100644
--- a/net-analyzer/nmap/ChangeLog
+++ b/net-analyzer/nmap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/nmap
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.104 2005/10/02 02:30:38 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.105 2005/11/29 21:23:00 hanno Exp $
+
+ 29 Nov 2005; Hanno Boeck <hanno@gentoo.org> +files/nmap-3.93-gcc41.patch,
+ nmap-3.93.ebuild:
+ Fix for gcc 4.1.
02 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> nmap-3.83.ebuild:
Alpha stable.
diff --git a/net-analyzer/nmap/files/nmap-3.93-gcc41.patch b/net-analyzer/nmap/files/nmap-3.93-gcc41.patch
new file mode 100644
index 000000000000..85fb48d87f33
--- /dev/null
+++ b/net-analyzer/nmap/files/nmap-3.93-gcc41.patch
@@ -0,0 +1,11 @@
+--- nmap-3.93/tcpip.h 2005-08-24 21:22:15.000000000 +0200
++++ nmap-3.93-gcc41/tcpip.h 2005-11-29 13:24:10.486220750 +0100
+@@ -286,7 +286,7 @@
+ direction must be PacketTrace::SENT or PacketTrace::RCVD .
+ Optional 'now' argument makes this function slightly more
+ efficient by avoiding a gettimeofday() call. */
+- static void PacketTrace::traceArp(pdirection pdir, const u8 *frame, u32 len,
++ static void traceArp(pdirection pdir, const u8 *frame, u32 len,
+ struct timeval *now);
+ };
+
diff --git a/net-analyzer/nmap/nmap-3.93.ebuild b/net-analyzer/nmap/nmap-3.93.ebuild
index 46a75c77593f..c1ae6dbb2452 100644
--- a/net-analyzer/nmap/nmap-3.93.ebuild
+++ b/net-analyzer/nmap/nmap-3.93.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-3.93.ebuild,v 1.2 2005/09/17 08:26:43 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-3.93.ebuild,v 1.3 2005/11/29 21:23:00 hanno Exp $
inherit eutils flag-o-matic
@@ -18,6 +18,11 @@ DEPEND="virtual/libc
gtk? ( =x11-libs/gtk+-1.2* )
ssl? ( dev-libs/openssl )"
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/nmap-3.93-gcc41.patch
+}
+
src_compile() {
use ppc-macos && filter-flags -fstrict-aliasing -O2
econf \