epatch call patch with first -p0 and then -p1, -p2, -p3, ... A problem occure when you apply a patch which add one or more missing files because patch -p0 will not fail to create the file. Un fortunately, if the patch needed -p1, the file is created at the wrong place. To correct this bug, I suggest that a var like EPATCH_P could be set and used for the -p value or perhaps if EPATCH_OPTS is placed _after_ the epatch default -p, we would be able to override this.
fixed in cvs $EPATCH_OPTS will now be placed after the -p#