misc.c: In function ‘IMG_SavePNG_RW’:
misc.c:314:6: error: dereferencing pointer to incomplete type
misc.c:363:34: error: dereferencing pointer to incomplete type
misc.c:364:17: error: dereferencing pointer to incomplete type
make: *** [misc.o] Error 1
Created attachment 264163 [details, diff]
not upstreamed, please do it
Thanks - looks like upstream had half your fix in CVS already, and the other half they did differently. I'm looking into that and will have a fix in portage soon (will try to stick with upstream if possible).
Ok, upstream CVS version does fix this, but has other problems. I just committed your patch against the current release version. I didn't do a revbump - I'm under the impression that anybody who had the new library wasn't able to install it anyway, and if anybody does update libpng they're going to have to do a rebuild anyway.