# $Id$ PNAME="patch" PVER="2.6.1" PBUILD="r3" PCATEGORIE="sys-dev" DESCRIPTION="Utility to apply diffs to files." HOMEPAGE="http://www.gnu.org/software/patch/patch.html" DEPEND=">= virtual/glibc" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( gnu://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-get-arg.patch ) UP2DATE="updatecmd_gnu ${PNAME}" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fixed arguments for get # see: https://bugzilla.redhat.com/show_bug.cgi?id=553624 mpatch ${PNAME}-${PVER}-get-arg.patch || die }