patch: Handle empty patch files
Empty patch files are valid patches, so return an empty set of changed source files from get_src_set() when encountering one.
Patch files with just whitespace are considered invalid by patch(1), however, so keep treating them that way.
Fixes #46 (closed)
Edited by Nikolai Kondrashov