I don't think so. A patch would apply to the source and not to the prefix and `inreplace` isn't suitable for creating new files.