New comment by chexum on void-packages repository https://github.com/void-linux/void-packages/pull/37816#issuecomment-1173145718 Comment: 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. Perhaps some method to revert to the original patch white-space behaviour could be nicer to avoid retouching old templates? But I'm glad that templates are expected to be able to (re)build any arbitrary package if the binary package is lost, that means so much for reproducibility (even if not for the bit-for-bit meaning).