When compiling games/KnightCap, there is a warning: ---SCHNIPP--- In file included from knightcap.c:7: knightcap.h:219:1: warning: "INFINITY" redefined In file included from includes.h:8, from knightcap.c:5: /usr/include/math.h:58:1: warning: this is the location of the previous definition ---schnapp--- Using /usr/include/math.h version seems to be not a good idea (too big). Undefining it before defining it helps. Fix: Patch attached with submission follows: How-To-Repeat: cd /usr/ports/games/KnightCap make
State Changed From-To: open->closed Comitted, thanks
pav 2011-06-03 13:41:39 UTC FreeBSD ports repository Modified files: games/KnightCap/files patch-knightcap.h Log: - Silence compile time warning PR: ports/156588 Submitted by: Kalten <kalten@gmx.at> Revision Changes Path 1.2 +13 -3 ports/games/KnightCap/files/patch-knightcap.h _______________________________________________ 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"