http://bugs.winehq.org/show_bug.cgi?id=35631
--- Comment #5 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Jerome Leclanche from comment #4)
Maybe upstreaming some of the changes (or making them a compile-time option for giflib) should be considered?
Feel free to do that, all the changes are in dlls/windowscodecs/ungif.c