Home » Developing U++ » U++ Developers corner » libpng1.4
libpng1.4 [message #24800] |
Sat, 30 January 2010 17:05 |
|
Hello all
I've just accidentally upgraded libpng from 1.2 to 1.4 (accidentally = I activated testing repository on my Arch linux ). The expected result of this was, that theide stopped working, because libpng12.so was no longer available.
But there was also one unexpected result (and that's why I'm posting this): plugin/png fails to compile. The reason is that in uppsrc/plugin/png/pngupp.cpp, lines 429-431 say #ifdef PNG_iTXt_SUPPORTED
text_ptr[0].lang = NULL;
#endif So far this was OK, since PNG_iTXt_SUPPORTED was false by default, but as of 1.4, iTXt is enabled by default (see http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summ ary.txt, so it fails on undefined text_ptr.
I'm not sure what is the reason or function of this, but I believe that we don't really use it Commenting these three lines solves the problem.
Could someone with commit rights change this in svn please?
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Thu May 09 13:00:20 CEST 2024
Total time taken to generate the page: 0.04707 seconds
|