diff options
-rw-r--r-- | net-analyzer/etherape/ChangeLog | 5 | ||||
-rw-r--r-- | net-analyzer/etherape/etherape-0.9.1.ebuild | 17 | ||||
-rw-r--r-- | net-analyzer/etherape/files/etherape-0.9.1-res_mkquery.patch | 12 |
3 files changed, 32 insertions, 2 deletions
diff --git a/net-analyzer/etherape/ChangeLog b/net-analyzer/etherape/ChangeLog index bafa5181c2e8..d14ff5452856 100644 --- a/net-analyzer/etherape/ChangeLog +++ b/net-analyzer/etherape/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/etherape # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/etherape/ChangeLog,v 1.15 2005/01/29 05:12:51 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/etherape/ChangeLog,v 1.16 2005/02/07 10:57:19 eldad Exp $ + + 07 Feb 2005; Eldad Zack <eldad@gentoo.org> etherape-0.9.1.ebuild: + Reapplied res_mkquery patch. Closes #79385. 29 Jan 2005; Daniel Black <dragonheart@gentoo.org> etherape-0.8.2-r1.ebuild, etherape-0.9.0.ebuild, etherape-0.9.1.ebuild: diff --git a/net-analyzer/etherape/etherape-0.9.1.ebuild b/net-analyzer/etherape/etherape-0.9.1.ebuild index c4af9542f668..3ab3e345e6b5 100644 --- a/net-analyzer/etherape/etherape-0.9.1.ebuild +++ b/net-analyzer/etherape/etherape-0.9.1.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/etherape/etherape-0.9.1.ebuild,v 1.2 2005/01/29 05:12:51 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/etherape/etherape-0.9.1.ebuild,v 1.3 2005/02/07 10:57:19 eldad Exp $ inherit eutils @@ -19,6 +19,21 @@ DEPEND=">=gnome-base/libglade-2.0 sys-devel/gettext sys-devel/autoconf" +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-res_mkquery.patch +} + +src_compile() { + aclocal + autoconf + + econf || die + emake || die +} + src_install() { emake DESTDIR=${D} install || die "failed to install" diff --git a/net-analyzer/etherape/files/etherape-0.9.1-res_mkquery.patch b/net-analyzer/etherape/files/etherape-0.9.1-res_mkquery.patch new file mode 100644 index 000000000000..51a8fd66cd3f --- /dev/null +++ b/net-analyzer/etherape/files/etherape-0.9.1-res_mkquery.patch @@ -0,0 +1,12 @@ +--- configure.in 2003-03-01 22:05:30.000000000 +0000 ++++ configure.in 2004-02-06 12:00:20.538728352 +0000 +@@ -52,7 +52,8 @@ + + AC_CHECK_FUNC(res_mkquery, , + AC_CHECK_LIB(bind, res_mkquery, , +- AC_CHECK_LIB(resolv, res_mkquery, , AC_MSG_ERROR(No resolver library found)))) ++ AC_CHECK_LIB(resolv, res_mkquery, , ++ AC_CHECK_LIB(resolv, __res_mkquery, , AC_MSG_ERROR(No resolver library found))))) + + # Check for the pcap library. + AC_ARG_ENABLE(static-pcap, |