aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2019-06-18 19:50:13 +0000
committerRene Ladan <rene@FreeBSD.org>2019-06-18 19:50:13 +0000
commit6369124a406bdbe262ff15771b9f2649be8d8c82 (patch)
treed80cf50b657a6197608f21b38bd48791614a60d9
parent66d46c9897975d9592955817cb33089d97ef17c6 (diff)
downloadports-6369124a406bdbe262ff15771b9f2649be8d8c82.tar.gz
ports-6369124a406bdbe262ff15771b9f2649be8d8c82.zip
Notes
-rw-r--r--x11-toolkits/nanogui/Makefile2
-rw-r--r--x11-toolkits/nanogui/files/patch-src_common.cpp11
2 files changed, 12 insertions, 1 deletions
diff --git a/x11-toolkits/nanogui/Makefile b/x11-toolkits/nanogui/Makefile
index b7081564d206..9acf7b16f4db 100644
--- a/x11-toolkits/nanogui/Makefile
+++ b/x11-toolkits/nanogui/Makefile
@@ -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
diff --git a/x11-toolkits/nanogui/files/patch-src_common.cpp b/x11-toolkits/nanogui/files/patch-src_common.cpp
new file mode 100644
index 000000000000..ed45b92df8a3
--- /dev/null
+++ b/x11-toolkits/nanogui/files/patch-src_common.cpp
@@ -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)