make[4]: Entering directory `/var/tmp/portage/media-libs/imlib2-1.4.4/work/imlib2-1.4.4/src/modules/loaders' CC jpeg_la-loader_jpeg.lo CCLD jpeg.la CC png_la-loader_png.lo loader_png.c: In function ‘load’: loader_png.c:61:13: error: dereferencing pointer to incomplete type loader_png.c: In function ‘save’: loader_png.c:268:8: error: dereferencing pointer to incomplete type loader_png.c:280:18: error: dereferencing pointer to incomplete type loader_png.c:289:55: error: dereferencing pointer to incomplete type loader_png.c:300:29: error: dereferencing pointer to incomplete type loader_png.c: In function ‘load’: loader_png.c:40:14: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result make[4]: *** [png_la-loader_png.lo] Error 1 There's a patch from NetBSD available (see URL). Dunno if it already was reported upstream though.
Created attachment 262583 [details, diff] imlib2-1.4.4-libpng15.patch This is the patch from NetBSD. Like I said it's not from upstream but seems to work.
ive committed the patch upstream and added to our repo ... thanks http://sources.gentoo.org/media-libs/imlib2/imlib2-1.4.4.ebuild?r1=1.8&r2=1.9 http://sources.gentoo.org//imlib2-1.4.4-libpng-1.5.patch?rev=1.1