The POV-Ray port has a patch to allow it to compile with libpng 1.4. MegaPOV requires the same patch. This problem is obscured because sometimes MegaPOV configure can't find the system's libpng and compiles its own libpng 1.2.8 instead (and also its own libjpeg and libtiff). This apparently depends on whether Xorg is installed. Fix: See patch. Patch attached with submission follows: How-To-Repeat: Without Xorg installed, configure says: checking for library containing png_get_libpng_ver... no configure: libpng will be built and statically linked to MegaPOV With Xorg installed, configure says: checking for library containing png_get_libpng_ver... -lpng checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for libpng version >= 1.2.5... 1.4.3, ok Later, the build stops with many benign warnings and two errors: png_pov.cpp:1440: error: 'struct png_info_struct' has no member named 'trans' png_pov.cpp:1473: error: 'struct png_info_struct' has no member named 'trans'
Responsible Changed From-To: freebsd-ports-bugs->maho Over to maintainer (via the GNATS Auto Assign Tool)
maho 2010-12-25 01:45:34 UTC FreeBSD ports repository Modified files: graphics/megapov Makefile Added files: graphics/megapov/files patch-png_pov.cpp Log: Build fix. PR: 152539 Submitted by: Andrey Zholos <aaz@althenia.net> Revision Changes Path 1.18 +2 -0 ports/graphics/megapov/Makefile 1.1 +20 -0 ports/graphics/megapov/files/patch-png_pov.cpp (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed thanks!