Created attachment 205135 [details] update include files and USES Update this port to include dirent.h instead of sys/dir.h which is scheduled for removal. While here modernize USES.
LGTM. Sent a PR upstream: https://github.com/wjakob/nanogui/pull/417
Committed, thanks. Also a good idea to send it upstream :)
A commit references this bug: Author: rene Date: Mon Jun 17 16:52:51 UTC 2019 New revision: 504430 URL: https://svnweb.freebsd.org/changeset/ports/504430 Log: graphics/instant-meshes: include dirent.h instead of sys/dir.h which is scheduled for removal. While here modernize USES PR: 238620 Submitted by: rene Approved by: Greg V (maintainer) Event: Berlin Hackathon 2019 (generating the patch) Changes: head/graphics/instant-meshes/Makefile head/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp