Index: dsniff-2.4_beta1-r3.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild,v retrieving revision 1.9 diff -u -r1.9 dsniff-2.4_beta1-r3.ebuild --- dsniff-2.4_beta1-r3.ebuild 13 Aug 2007 21:20:30 -0000 1.9 +++ dsniff-2.4_beta1-r3.ebuild 1 Aug 2008 20:54:43 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/dsniff/dsniff-2.4_beta1-r3.ebuild,v 1.9 2007/08/13 21:20:30 dertobi123 Exp $ -inherit eutils flag-o-matic toolchain-funcs +inherit autotools eutils flag-o-matic toolchain-funcs DESCRIPTION="A collection of tools for network auditing and penetration testing" HOMEPAGE="http://monkey.org/~dugsong/dsniff/" @@ -47,7 +47,9 @@ epatch "${FILESDIR}"/${PN}-httppostfix.patch # Allow amd64 compilation - append-ldflags -lresolv + epatch "${FILESDIR}"/${PN}-lresolv.patch + + eautoreconf } src_compile() { Index: files/dsniff-lresolv.patch =================================================================== RCS file: files/dsniff-lresolv.patch diff -N files/dsniff-lresolv.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/dsniff-lresolv.patch 1 Aug 2008 20:54:43 -0000 @@ -0,0 +1,11 @@ +--- dsniff-2.4.old/configure.in 2008-08-01 22:37:54.000000000 +0200 ++++ dsniff-2.4/configure.in 2008-08-01 22:45:44.000000000 +0200 +@@ -57,6 +57,8 @@ + AC_CHECK_LIB(nsl, gethostbyname) + dnl XXX - feh, everything except OpenBSD sux. + AC_CHECK_LIB(resolv, dn_expand) ++AC_CHECK_LIB(resolv, _dn_expand) ++AC_CHECK_LIB(resolv, __dn_expand) + AC_REPLACE_FUNCS(dirname strlcpy strlcat strsep) + needmd5=no + AC_CHECK_FUNCS(MD5Update, , [needmd5=yes])