diff options
author | edwin <edwin@FreeBSD.org> | 2004-12-23 14:27:14 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-12-23 14:27:14 +0800 |
commit | 1c28a9e62ba37233010d5897a51d42205cde0032 (patch) | |
tree | 5841090a6456e2db00749cbc524c5eb9fea544e3 /games/bastet/Makefile | |
parent | f81d2a24ce886ac0aac1661d96786fc695991ead (diff) | |
download | freebsd-ports-gnome-1c28a9e62ba37233010d5897a51d42205cde0032.tar.gz freebsd-ports-gnome-1c28a9e62ba37233010d5897a51d42205cde0032.tar.zst freebsd-ports-gnome-1c28a9e62ba37233010d5897a51d42205cde0032.zip |
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>
Diffstat (limited to 'games/bastet/Makefile')
-rw-r--r-- | games/bastet/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/games/bastet/Makefile b/games/bastet/Makefile index c3de0ee62f27..6e11d18f7b81 100644 --- a/games/bastet/Makefile +++ b/games/bastet/Makefile @@ -7,6 +7,7 @@ PORTNAME= bastet PORTVERSION= 0.41 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://fph.altervista.org/prog/ EXTRACT_SUFX= .tgz |