It seems the link to the diskdev_cmds is indeed broken.
However, Void Linux's repo has a working copy of it.
https://sources.voidlinux.org/hfsprogs-540.1.linux3/diskdev_cmds-540.1.linux3.tar.gz
After changing the link for diskdev_cmds to this one I'm able to build the package.
Pinned Comments
Muflone commented on 2018-12-26 17:19 (UTC)
Package updated to version 540.1 in a specific build compatible with GNU/Linux.
Please do not mark this package out of date since you personally are able to build the package against the newer sources.