Have you sent a patch upstream?
https://github.com/aerofs/libdmg-hfsplus/commit/ab55551b3ebf196a2a8f35a1e8a1fee95a0c5508 

On a related note, how should I go about submitting this package for inclusion in the Alpine repo?