There's a merged pull request on the void-packages repository amdvlk: fix build with gcc12 https://github.com/void-linux/void-packages/pull/40037 Description: #### Testing the changes - I tested the changes in this PR: **briefly** https://github.com/void-linux/void-packages/issues/39809