New comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/issues/39510#issuecomment-1279848417 Comment: yes, you'll want to create a patch, then just put it in `srcpkgs/apr-util/patches/` and xbps-src will take care of it. I recommend using [unpatch](https://leahneukirchen.org/dotfiles/bin/unpatch) to generate it, e.g. (from the repo root dir): ```sh $ mkdir srcpkgs/apr-util/patches $ ./xbps-src clean apr-util && ./xbps-src extract apr-util $ cp masterdir/builddir/apr-util-1.6.1/PATH/TO/FILE{,.orig} $ # edit masterdir/builddir/apr-util-1.6.1/PATH/TO/FILE $ unpatch -g -p3 masterdir/builddir/apr-util-1.6.1/PATH/TO/FILE > srcpkgs/apr-util/patches/DESCRIPTIVE-NAME.patch $ ./xbps-src clean apr-util && ./xbps-src pkg apr-util ```