Bug 238614 - games/egoboo : use dirent.h instead of deprecated dir.h
Summary: games/egoboo : use dirent.h instead of deprecated dir.h
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks: 21519
  Show dependency treegraph
 
Reported: 2019-06-16 13:36 UTC by Rene Ladan
Modified: 2019-06-30 09:18 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (amdmi3)


Attachments
include sys/dirent.h instead of sys/dir.h (1.15 KB, patch)
2019-06-16 13:36 UTC, Rene Ladan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Ladan freebsd_committer 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 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 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