summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-06-01 20:17:17 +0000
committerPeter Volkov <pva@gentoo.org>2009-06-01 20:17:17 +0000
commitb21a52602cbcff4785d0e742f17c8c0cafa02ba0 (patch)
treeed4840340dc64ba03647178a7c2303d69fee0cb2 /net-analyzer/ettercap
parentRepoman warnings (diff)
downloadgentoo-2-b21a52602cbcff4785d0e742f17c8c0cafa02ba0.tar.gz
gentoo-2-b21a52602cbcff4785d0e742f17c8c0cafa02ba0.tar.bz2
gentoo-2-b21a52602cbcff4785d0e742f17c8c0cafa02ba0.zip
Fixed -Werror related build failure, bug #260840, thank Alexandre NEY for report.
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/ettercap')
-rw-r--r--net-analyzer/ettercap/ChangeLog8
-rw-r--r--net-analyzer/ettercap/ettercap-0.7.3-r3.ebuild8
2 files changed, 10 insertions, 6 deletions
diff --git a/net-analyzer/ettercap/ChangeLog b/net-analyzer/ettercap/ChangeLog
index bc1d603864e6..0c1e1357e8c4 100644
--- a/net-analyzer/ettercap/ChangeLog
+++ b/net-analyzer/ettercap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/ettercap
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.66 2009/03/01 20:20:40 patrick Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ChangeLog,v 1.67 2009/06/01 20:17:17 pva Exp $
+
+ 01 Jun 2009; Peter Volkov <pva@gentoo.org> ettercap-0.7.3-r3.ebuild:
+ Fixed -Werror related build failure, bug #260840, thank Alexandre NEY for
+ report.
*ettercap-0.7.3-r3 (01 Mar 2009)
diff --git a/net-analyzer/ettercap/ettercap-0.7.3-r3.ebuild b/net-analyzer/ettercap/ettercap-0.7.3-r3.ebuild
index d963212ca2ce..420ba25beb1d 100644
--- a/net-analyzer/ettercap/ettercap-0.7.3-r3.ebuild
+++ b/net-analyzer/ettercap/ettercap-0.7.3-r3.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/ettercap/ettercap-0.7.3-r3.ebuild,v 1.1 2009/03/01 20:20:40 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ettercap/ettercap-0.7.3-r3.ebuild,v 1.2 2009/06/01 20:17:17 pva Exp $
# the actual version is "NG-0.7.0" but I suppose portage people will not be
# happy with it (as for the 0.6.b version), so let's set it to "0.7.0".
@@ -34,9 +34,10 @@ S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
+ sed -e 's:-Werror ::' -i configure.in
epatch "${FILESDIR}"/${P}-as-needed.patch
epatch "${FILESDIR}"/${P}-open_missing_mode.patch
- eautomake
+ eautoreconf
}
src_compile() {
@@ -53,8 +54,7 @@ src_compile() {
econf ${myconf} \
$(use_enable gtk) \
$(use_enable debug) \
- $(use_with ncurses) \
- || die "econf failed"
+ $(use_with ncurses)
emake || die "emake failed"
}