A patch is available here (or will be in a few minutes):
http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/diacanvas/files/