Date: Thu, 23 Dec 2004 06:27:14 +0000 (UTC) From: Edwin Groothuis <edwin@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/games/bastet Makefile ports/games/bastet/files patch-game.c Message-ID: <200412230627.iBN6REOB018262@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <freebsd-dr@durchnull.de> Revision Changes Path 1.2 +1 -0 ports/games/bastet/Makefile 1.1 +67 -0 ports/games/bastet/files/patch-game.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412230627.iBN6REOB018262>