From owner-cvs-all@FreeBSD.ORG Thu Dec 23 06:27:14 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 611C616A4CE; Thu, 23 Dec 2004 06:27:14 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BDA443D55; Thu, 23 Dec 2004 06:27:14 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iBN6REm7018263; Thu, 23 Dec 2004 06:27:14 GMT (envelope-from edwin@repoman.freebsd.org) Received: (from edwin@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBN6REOB018262; Thu, 23 Dec 2004 06:27:14 GMT (envelope-from edwin) Message-Id: <200412230627.iBN6REOB018262@repoman.freebsd.org> From: Edwin Groothuis Date: Thu, 23 Dec 2004 06:27:14 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/games/bastet Makefile ports/games/bastet/files patch-game.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 06:27:14 -0000 edwin 2004-12-23 06:27:14 UTC FreeBSD ports repository Modified files: games/bastet Makefile Added files: games/bastet/files patch-game.c Log: games/bastet does busy waiting bastet does busy waiting because the select() call in game.c returns with EINVAL. The reason is that timeout does not point to the struct timeval in the program but to a ncurses function with the same name. I renamed the variable to fix it. Also the value 1000000 is not a valid timeout value because it would have to be encoded as 1 second and 0 microseconds. I fixed it trivially by using 999999 for that value. Also I fixed a gcc warning. Anyway I think the function bast_clear has to be declared somewhere else. Should be easy to fix - temporarily I just put the diff below in my files/ directory of the port. PR: ports/75208 Submitted by: Rudolf Polzer Revision Changes Path 1.2 +1 -0 ports/games/bastet/Makefile 1.1 +67 -0 ports/games/bastet/files/patch-game.c (new)