There's a closed pull request on the void-packages repository dosbox: remove modification for libpng check https://github.com/void-linux/void-packages/pull/14475 Description: The `pre_configure` modification of the libpng check is no longer necessary, because the relevant bug has been resolved upstream, see https://sourceforge.net/p/dosbox/bugs/345/