It appears the -10 build server has yet another new version of clang. Fix: Include unistd.h (see attached patch). How-To-Repeat: http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-10-24_03h27m40s/logs/bro-2.1_3.log /wrkdirs/usr/ports/security/bro/work/bro-2.1/src/logging/Manager.cc:1246:3: error: use of undeclared identifier 'usleep' usleep(1000); ^ 1 warning and 1 error generated. *** Error code 1
Responsible Changed From-To: freebsd-ports-bugs->tabthorpe I'll take it.
Author: tabthorpe Date: Fri Oct 25 15:02:57 2013 New Revision: 331593 URL: http://svnweb.freebsd.org/changeset/ports/331593 Log: - Fix build with clang PR: ports/183279 Submitted by: Craig Leres <leres@ee.lbl.gov> (maintainer) Added: head/security/bro/files/patch-src-logging-Manager.cc (contents, props changed) Added: head/security/bro/files/patch-src-logging-Manager.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/bro/files/patch-src-logging-Manager.cc Fri Oct 25 15:02:57 2013 (r331593) @@ -0,0 +1,10 @@ +--- src/logging/Manager.cc.orig 2013-10-24 11:44:30.000000000 -0700 ++++ src/logging/Manager.cc 2013-10-24 11:45:09.000000000 -0700 +@@ -1,6 +1,7 @@ + // See the file "COPYING" in the main distribution directory for copyright. + + #include <algorithm> ++#include <unistd.h> /* pick up usleep() prototype */ + + #include "../Event.h" + #include "../EventHandler.h" _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!