cvs commit: ports/games/bastet Makefile ports/games/bastet/files patch-game.c

Edwin Groothuis edwin at
Wed Dec 22 22:27:14 PST 2004

edwin       2004-12-23 06:27:14 UTC

  FreeBSD ports repository

  Modified files:
    games/bastet         Makefile 
  Added files:
    games/bastet/files   patch-game.c 
  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 at>
  Revision  Changes    Path
  1.2       +1 -0      ports/games/bastet/Makefile
  1.1       +67 -0     ports/games/bastet/files/patch-game.c (new)

More information about the cvs-all mailing list