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.
A commit references this bug:
Date: Tue Jun 18 19:50:13 UTC 2019
New revision: 504499
x11-toolkits/nanogui: include dirent.h instead of sys/dir.h which is
scheduled for removal.
While here modernize USES
Submitted by: rene
Approved by: yuri (maintainer)