--- /usr/portage/net-p2p/dctc/dctc-0.85.9.ebuild 2005-07-10 14:05:55.000000000 -0600 +++ overlay/net-p2p/dctc/dctc-0.85.9.ebuild 2006-03-18 15:46:58.000000000 -0600 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.85.9.ebuild,v 1.12 2005/07/10 20:00:41 swegener Exp $ -inherit eutils +inherit eutils autotools IUSE="" @@ -21,13 +21,17 @@ src_unpack() { unpack ${A} cd ${S} + + epatch "${FILESDIR}"/dctc-0.85.6-passive.patch + epatch "${FILESDIR}"/dctc-0.85.9-gcc41.patch + + eautoreconf + # fix for #26708 (db4 support) local dbfunc="`grep '^#define.*db_env_create' /usr/include/db.h | awk '{print $NF}'`" if [ "${dbfunc}" != "db_env_create" ] ; then sed -i "s:db_env_create:${dbfunc}:g" configure fi - - epatch ${FILESDIR}/dctc-0.85.6-passive.patch } src_install() {