New comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/37816#issuecomment-1173147347 Comment: > Perhaps some method to revert to the original patch white-space behaviour could be nicer to avoid retouching old templates? No, lax whitespace matching should have been always turned off, imo it was a mistake that we had it on, we can easily fix the patches. > What I've attempted here is to make sure that the content (including line numbers) matches the original source, so that perhaps(!) it could survive more source upgrades in a safer way. I specifically excluded the fourth patch, as it still applied cleanly with no line numbering issues. It looks the current patches were for different versions originally - IMHO more lax patches have the danger of matching the wrong line and result in hard-to-trace issues. In practice I have never seen this happen.