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>
21 lines
469 B
Makefile
21 lines
469 B
Makefile
# New ports collection makefile for: bastet
|
|
# Date created: 21 Oct 2004
|
|
# Whom: Michael Nottebrock <lofi@freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bastet
|
|
PORTVERSION= 0.41
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://fph.altervista.org/prog/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An ncurses Tetris clone which is harder than every other Tetris
|
|
|
|
USE_GMAKE= yes
|
|
MAKE_ENV= DATADIR=${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|