FP_FAST_FMA was defined in IA64 & Sparc64 with no value. CDO assumes FP_FAST_FMA as an integer in its debug messages. It causes a compilation error. Cited from ${WRKSRC}/src/cdo.c: #if defined (FP_FAST_FMA) fprintf(stderr, "FP_FAST_FMA = %d\n", FP_FAST_FMA); #endif Cited from src/lib/msun/src/math.h: #if defined(__ia64__) || defined(__sparc64__) #define FP_FAST_FMA #define FP_FAST_FMA #endif #endif Fix: # cat /usr/ports/science/cdo/files/patch-src-cdo.c
Responsible Changed From-To: freebsd-ports-bugs->shaun shaun@ wants to have sparc64 and 4.x PRs
State Changed From-To: open->closed Committed, thanks!
shaun 2006-12-09 22:47:43 UTC FreeBSD ports repository Added files: science/cdo/files patch-src-cdo.c Log: Fix build on ia64 and sparc64. PR: ports/106303 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> (maintainer) Revision Changes Path 1.1 +11 -0 ports/science/cdo/files/patch-src-cdo.c (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"