New comment by tsndqst on void-packages repository https://github.com/void-linux/void-packages/pull/40400#issuecomment-1308119049 Comment: @classabbyamp I started working on a naive patch before I saw your solution. I like yours better. I wrote up a patch with your code.