libtool: compile: x86_64-pc-linux-gnu-gcc -DSYSTEM_IMRC=\"/etc/imlib/imrc\" -DSYSCONFDIR=\"/etc/imlib\" -I. -I.. -I. -I. -I.. -I./.. -I/usr/include -I/usr/include -march=barcelona -mtune=barcelona -O2 -pipe -finline-functions -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c -fPIC -DPIC -o .libs/load.o load.c: In function '_LoadPNG': load.c:200:7: error: dereferencing pointer to incomplete type load.c:205:15: error: dereferencing pointer to incomplete type load.c: In function 'Imlib_load_image': load.c:1910:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result load.c:1955:12: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c: In function 'isbmp': load.c:1714:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c: In function 'isxpm': load.c:1699:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c: In function 'isgif': load.c:1684:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c: In function 'iseim': load.c:1669:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c: In function 'istiff': load.c:1653:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result load.c: In function 'ispng': load.c:1638:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c: In function 'isjpeg': load.c:1623:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c: In function 'ispnm': load.c:1599:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result load.c: In function '_LoadPPM': load.c:1360:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result load.c:1409:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result load.c:1422:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c: In function '_LoadBMP': load.c:632:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c:634:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c:639:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c:652:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c:654:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c:661:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c:668:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c:709:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result load.c:721:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result make[2]: *** [load.lo] Error 1
NetBSD people seem to have patches at hand (see URL) but I failed to apply them.
be nice if we could simply kill this package ...
(In reply to comment #2) > be nice if we could simply kill this package ... > +1 on that. far as I can see, the intresting reverse deps for this package are kuickshow (up-to-date KDE package! not optional. no idea why upstream is using this over imlib2), icewm (optional) and wmakerconf (optional) http://tinderbox.dev.gentoo.org/misc/rindex/media-libs/imlib
well try this + 07 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> imlib-1.9.15-r3.ebuild, + +files/imlib-1.9.15-libpng15.patch: + Fix building with libpng15 wrt #357167 by Lars Wendler