Created attachment 205128 [details] include sys/dirent.h instead of sys/dir.h This port uses sys/dir.h in its source code, but that header file is scheduled for removal. Convert it to use sys/dirent.h instead. While here fix USES for gl.
So it builds when including sys/dirent.h, but maybe we want to include dirent.h (the one in /usr/include) instead.
A commit references this bug: Author: rene Date: Sun Jun 30 09:17:48 UTC 2019 New revision: 505412 URL: https://svnweb.freebsd.org/changeset/ports/505412 Log: games/egoboo: include dirent.h instead of sys/dir.h which is going away. While here modernize USES PR: 238614 Submitted by: rene Approved by: maintainer timeout (amdmi3, two weeks) Changes: head/games/egoboo/Makefile head/games/egoboo/files/patch-game-lin-file.c