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