New comment by Eloitor on void-packages repository https://github.com/void-linux/void-packages/pull/38129#issuecomment-1189853171 Comment: I'm sorry, I don't know how to properly create the patch, what I did was: ``` bash cd ~/repos git clone https://github.com/Kozea/CairoSVG cd CairoSVG # I removed the lines containing pytest-runner git diff > pytest-runner.patch ``` When running `./xbps-src patch python3-CairoSVG` I get the error ``` => python3-CairoSVG-2.5.2_1: patching: pytest-runner.patch. 3 out of 3 hunks FAILED -- saving rejects to file setup.cfg.rej => ERROR: python3-CairoSVG-2.5.2_1: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 ```