Bug 238697

Summary: x11-toolkits/nanogui : include dirent.h instead of deprecated sys/dir.h
Product: Ports & Packages Reporter: Rene Ladan <rene>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: rene
Priority: --- Flags: yuri: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 21519    
Attachments:
Description Flags
include dirent.h instead of sys/dir.h none

Description Rene Ladan freebsd_committer freebsd_triage 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 freebsd_triage 2019-06-18 19:47:34 UTC
Approved.
Comment 2 commit-hook freebsd_committer freebsd_triage 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 freebsd_triage 2019-06-18 19:51:05 UTC
Committed, thanks.