it isn't uncommon for people to want to force the patch (-p#) or fuzz (-f#) 
level when applying specific patches.  but it is unusual that they want to kill 
off the extra options: -g0 -E --no-backup-if-mismatch.  so i'd like to split 
these off and improve the epatch API.

# Extra options to pass to `patch` (such as -p1).
EPATCH_OPTS=""
# Common options to pass to `patch` (you probably shouldn't need
# to change these at all).
EPATCH_COMMON_OPTS="-g0 -E --no-backup-if-mismatch"

and then i'll try to extend `epatch` so the first set of arguments can 
implicitly set EPATCH_OPTS for that one patch:
        epatch -p1 "${FILESDIR}"/${P}-foo.patch
this is much nicer than the current:
        EPATCH_OPTS="-p1" epatch "${FILESDIR}"/${P}-foo.patch

i can't see this causing any issues, but considering everyone uses `epatch`, 
best to ask first.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to