There is zero option that says "assume all those patches are correct and error out if something untowards happen".
This is really annoying for ports. - prompting for non-existent filenames breaks automated builds... dpb avoids that by explicitly zapping stdin. - the new one. In the absence of input, patch automatically assumes -R when needed... just ran into that one with a patch that didn't get removed. There are some batch options, but they just continue without erroring out if something weird happens. What's missing is some kind of --strict option, like when a patch doesn't apply, error out, don't prompt for anything, and never assert -R... Does this exist elsewhere ? Otherwise, parsing the very chatty output of patch and erroring out is what I'm going to have to do... :(
