There's a merged pull request on the void-packages repository xf86-video-vmware: fix build for gcc12 https://github.com/void-linux/void-packages/pull/38847 Description: #### Testing the changes - I tested the changes in this PR: **NO** Revbump since this is a bugfix from upstream and does slightly change behavior.