hasunsetenv test fails because main() has wrong return type How-To-Repeat: http://pointyhat-west.isc.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp-clang.20111122163211.pointyhat-west/bglibs-1.106,1.log
Responsible Changed From-To: freebsd-ports-bugs->sylvio Over to maintainer (via the GNATS Auto Assign Tool)
Responsible Changed From-To: sylvio->scheidell i'll take it. sylvio still on leave
State Changed From-To: open->closed Committed, thanks
scheidell 2011-12-03 20:34:21 UTC FreeBSD ports repository Modified files: devel/bglibs Makefile Log: -hasunsetenv test fails because main() has wrong return type PR: ports/162921 Submitted by: Jan Beich <jbeich@tormail.net> Approved by: maintainer (sylvio, implicit), gabor (mentor) Feature safe: yes Revision Changes Path 1.42 +4 -0 ports/devel/bglibs/Makefile _______________________________________________ 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"
This patch breaks at minimum the time function of bglib. The tryclockgettime.c file ( as well as many of the other try*.c files ) contains "int main(void)" and this patch results in that being changed to "int main(int)" which fails to compile. That results in bglib not detecting the capabilities of the platform properly.