Compiling sunbird while revdep-rebuilding after upgrade to libpng-1.4, I see the following error: gmake[4]: Entering directory `/var/tmp/portage/app-office/mozilla-sunbird-0.9/work/mozilla/modules/libpr0n/encoders/png' nsPNGEncoder.cpp x86_64-pc-linux-gnu-g++ -o nsPNGEncoder.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2010051001 -I../../../../dist/include/xpcom -I../../../../dist/include/gfx -I../../../../dist/include/string -I../../../../dist/include/imglib2 -I../../../../dist/include/imgpnge -I../../../../dist/include -I/usr/include/nspr -I../../../../dist/sdk/include -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=core2 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\" -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/nsPNGEncoder.pp nsPNGEncoder.cpp nsPNGEncoder.cpp: In member function ‘virtual nsresult nsPNGEncoder::InitFromData(const PRUint8*, PRUint32, PRUint32, PRUint32, PRUint32, PRUint32, const nsAString_internal&)’: nsPNGEncoder.cpp:114: error: ‘png_voidp_NULL’ was not declared in this scope nsPNGEncoder.cpp:115: error: ‘png_error_ptr_NULL’ was not declared in this scope gmake[4]: *** [nsPNGEncoder.o] Error 1 gmake[4]: Leaving directory `/var/tmp/portage/app-office/mozilla-sunbird-0.9/work/mozilla/modules/libpr0n/encoders/png' Reproducible: Always Steps to Reproduce:
*** Bug 319107 has been marked as a duplicate of this bug. ***
we need new sunbird and sunbird-bin in tree... bad... + 10 May 2010; Samuli Suominen <ssuominen@gentoo.org> +files/lpng14.patch, + mozilla-sunbird-0.9.ebuild: + Fix building with libpng14 wrt #319093 by Jonathan Adamczewski.