Created attachment 269047 [details]
similar problem as in bug 355047, not sure if the fix is also similar
Created attachment 280065 [details, diff]
Upstream patches to build with libpng 1.5
This patch merges a number of upstream commits that add libpng 1.5 support.
Applied with revision bump since it's so large patch I don't want to break stable by accident.
+*graphicsmagick-1.3.12-r1 (07 Aug 2011)
+ 07 Aug 2011; Samuli Suominen <email@example.com>
+ Fix compability with libpng15 wrt #362637 by Jonathan Callen