Your patch applies and creates .png icons... But it seems to create the icons with two suffixes, e.g. file shows a680_forum.png.xpm: PNG image data, 32 x 32, 8-bit/color RGB, non-interlaced Shouldn't that just be .png, not .png.xpm?
(This is for http://bugs.winehq.org/show_bug.cgi?id=4803 )