Bug 238614

Summary: games/egoboo : use dirent.h instead of deprecated dir.h
Product: Ports & Packages Reporter: Rene Ladan <rene>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me CC: rene
Priority: --- Flags: bugzilla: maintainer-feedback? (amdmi3)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 21519    
Attachments:
Description Flags
include sys/dirent.h instead of sys/dir.h none

Description Rene Ladan freebsd_committer freebsd_triage 2019-06-16 13:36:01 UTC
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.
Comment 1 Rene Ladan freebsd_committer freebsd_triage 2019-06-16 13:45:16 UTC
So it builds when including sys/dirent.h, but maybe we want to include dirent.h (the one in /usr/include) instead.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-06-30 09:17:53 UTC
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