Bug 238697 - x11-toolkits/nanogui : include dirent.h instead of deprecated sys/dir.h
Summary: x11-toolkits/nanogui : include dirent.h instead of deprecated sys/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: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks: 21519
  Show dependency treegraph
 
Reported: 2019-06-18 19:39 UTC by Rene Ladan
Modified: 2019-06-18 19:51 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+


Attachments
include dirent.h instead of sys/dir.h (1.31 KB, patch)
2019-06-18 19:39 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-18 19:39:08 UTC
Created attachment 205211 [details]
include dirent.h instead of sys/dir.h

nanogui includes sys/dir.h, but this header is scheduled for removal. Include its successor dirent.h instead.

While here modernize USES.
Comment 1 Yuri Victorovich freebsd_committer 2019-06-18 19:47:34 UTC
Approved.
Comment 2 commit-hook freebsd_committer 2019-06-18 19:50:38 UTC
A commit references this bug:

Author: rene
Date: Tue Jun 18 19:50:13 UTC 2019
New revision: 504499
URL: https://svnweb.freebsd.org/changeset/ports/504499

Log:
  x11-toolkits/nanogui: include dirent.h instead of sys/dir.h which is
  scheduled for removal.

  While here modernize USES

  PR:		238697
  Submitted by:	rene
  Approved by:	yuri (maintainer)

Changes:
  head/x11-toolkits/nanogui/Makefile
  head/x11-toolkits/nanogui/files/patch-src_common.cpp
Comment 3 Rene Ladan freebsd_committer 2019-06-18 19:51:05 UTC
Committed, thanks.