svn commit: r504499 - in head/x11-toolkits/nanogui: . files
Rene Ladan
rene at FreeBSD.org
Tue Jun 18 19:50:14 UTC 2019
Author: rene
Date: Tue Jun 18 19:50:13 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)
Added:
head/x11-toolkits/nanogui/files/patch-src_common.cpp (contents, props changed)
Modified:
head/x11-toolkits/nanogui/Makefile
Modified: head/x11-toolkits/nanogui/Makefile
==============================================================================
--- head/x11-toolkits/nanogui/Makefile Tue Jun 18 19:24:43 2019 (r504498)
+++ head/x11-toolkits/nanogui/Makefile Tue Jun 18 19:50:13 2019 (r504499)
@@ -15,7 +15,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libglfw.so:graphics/glfw
-USES= cmake compiler:c++14-lang eigen:3,build,run
+USES= cmake compiler:c++14-lang eigen:3,build,run gl
USE_GITHUB= yes
GH_ACCOUNT= wjakob
GH_TAGNAME= 885e4fc
Added: head/x11-toolkits/nanogui/files/patch-src_common.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-toolkits/nanogui/files/patch-src_common.cpp Tue Jun 18 19:50:13 2019 (r504499)
@@ -0,0 +1,11 @@
+--- src/common.cpp.orig 2018-04-13 19:33:54 UTC
++++ src/common.cpp
+@@ -24,7 +24,7 @@
+ #if !defined(_WIN32)
+ # include <locale.h>
+ # include <signal.h>
+-# include <sys/dir.h>
++# include <dirent.h>
+ #endif
+
+ NAMESPACE_BEGIN(nanogui)
More information about the svn-ports-all
mailing list