Sometimes I need to merge two patches. I can apply them but often it is not convenient (coping, temporary files etc.). Is there a tool to merge patches (assuming they are not conflicting)?
If you manage patches often, then you may be interested in
quilt. I believe it has a patch combination feature.
See Quilt (software) for more info.