I wrote a little ebuild patch for slim to work with libpng-1.4.x
Created attachment 230865 [details, diff] libpng-1.4 ebuild patch
Thanks for the patch but my understanding is that it would require an explicit dep on >=libpng-1.4 in which case it should be sent upstream as well (or some configure check for which version of libpng is available, yes?)
With -lpng instead of -lpng12, it should work with 1.2.x and 1.4.x (I've not tested it). So there is no explicit dep on >=libpng-1.4 or am I wrong?
Ok, I can check. Give me a few days unless someone else does. :)
+ 10 May 2010; Samuli Suominen <ssuominen@gentoo.org> + slim-1.3.1_p20091114.ebuild: + Link to -lpng instead of -lpng12 for libpng14 to work wrt #319065 by + Philip Taffner.
Created attachment 231025 [details, diff] fix libpng linkage to slim the previous patch is a bit ugly, because slim follows searching for libpng headers at /usr/include/libpng12. My patch uses pkgconfig to find the correct cflags and libs to be linked.
re-open
applied the pkgconfig version instead, please send this to upstream.