--- /usr/portage/portage/net-dialup/capi4k-utils/capi4k-utils-20041006-r2.ebuild 2004-11-15 20:13:43.000000000 +0100 +++ capi4k-utils-20041006-r2.ebuild 2004-11-24 23:07:44.658327216 +0100 @@ -10,7 +10,7 @@ MY_FILES=${FILESDIR}/${PV} MY_P=${PN}-${YEAR_PV}-${MON_PV}-${DAY_PV} -PPPVERSIONS="2.4.2" # versions in portage +PPPVERSIONS="2.4.2 2.4.3" # versions in portage DESCRIPTION="CAPI4Linux Utils" HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux/" @@ -38,6 +38,8 @@ cp -f ${MY_FILES}/config .config # fix the little odd bugs epatch ${MY_FILES}/${PN}.patch || die "patch failed" + # support for ppp-2.4.3 + epatch ${MY_FILES}/ppp-2.4.3.patch || die # patch includes of all *.c files sed -i -e "s:linux/capi.h>$:linux/compiler.h>\n#include :g" */*.c || die "sed failed" # patch all Makefile.am and Rules.make to use our CFLAGS