Fails to build with gcc45 and above, there is an error output: O2 -fPIC -I/usr/local/include -I/usr/local/include/freetype2 -I. -Ilibltdl src/adobe/basic_sheet.cpp g++46 -o src/adobe/eve.os -c -O2 -pipe -I. -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -pthread -Wall -Wno-parentheses -O2 -fPIC -I/usr/local/include -I/usr/local/include/freetype2 -I. -Ilibltdl src/adobe/eve.cpp In file included from src/adobe/eve.cpp:21:0: ./GG/adobe/cmath.hpp:47:2: error: #error "Unknown GCC compiler configuration for cmath (last known version is 4.0.1)." scons: *** [src/adobe/eve.os] Error 1 scons: building terminated because of errors. *** Error code 2 Fix: See attachment. Patch attached with submission follows: How-To-Repeat: 1. Upgrade GCC to gcc45 or gcc46 2. cd /usr/ports/x11-toolkits/gigi && make clean install
Responsible Changed From-To: freebsd-ports-bugs->oliver Over to maintainer (via the GNATS Auto Assign Tool)
oliver 2011-06-07 13:37:19 UTC FreeBSD ports repository Added files: x11-toolkits/gigi/files patch-CG-adobe-cmath.hpp Log: fix compilation if gcc 4.5 or 4.6 are installed PR: ports/153701 Submitted by: Sergei Arefiev <nbspjr@gmail.com> Revision Changes Path 1.1 +22 -0 ports/x11-toolkits/gigi/files/patch-CG-adobe-cmath.hpp (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 Committed, Thanks!