Patches for Patch to output used space [sf#3039391] [#1073]