https://bugs.freedesktop.org/show_bug.cgi?id=100222
--- Comment #1 from Alex Deucher alexdeucher@gmail.com --- Created attachment 130250 --> https://bugs.freedesktop.org/attachment.cgi?id=130250&action=edit patch 1/2
The attached patches should fix it.