q3map2 png support broken with libpng 1.6
I get these messages filling-up my terminal when I compile a map with q3map2 built against libpng 1.6, I'm building q3map2 on Ubuntu Yakkety that does not ship libpng12-dev
anymore:
WARNING: An error occurred reading PNG image
libpng error: bad parameters to zlib
If I build q3map2 using libpng12-dev
from Ubuntu Xenial it works, badly I can't downgrade that libpng dev package without affecting other packages and that's a no-go for me. It looks like the only workaround available to me is to keep a dedicated Xenial chroot just to build q3map2.