There is an updated pull request by ndowens against master on the void-packages repository https://github.com/ndowens/void-packages modsecurity https://github.com/void-linux/void-packages/pull/27434 modsecurity: fix cross-build A patch file from https://github.com/void-linux/void-packages/pull/27434.patch is attached