Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2019 16:52:50 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504430 - in head/graphics/instant-meshes: . files
Message-ID:  <201906171652.x5HGqorq003563@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Mon Jun 17 16:52:50 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)

Modified:
  head/graphics/instant-meshes/Makefile
  head/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp

Modified: head/graphics/instant-meshes/Makefile
==============================================================================
--- head/graphics/instant-meshes/Makefile	Mon Jun 17 16:14:04 2019	(r504429)
+++ head/graphics/instant-meshes/Makefile	Mon Jun 17 16:52:50 2019	(r504430)
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libglfw.so:graphics/glfw \
 		libtbb.so:devel/tbb
 RUN_DEPENDS=	zenity:x11/zenity
 
-USES=		cmake compiler:c++14-lang eigen:3 localbase:ldflags pkgconfig
+USES=		cmake compiler:c++14-lang eigen:3 gl localbase:ldflags pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	wjakob
 GH_TUPLE=	wjakob:nanogui:2a61f03:nanogui/ext/nanogui \

Modified: head/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp
==============================================================================
--- head/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp	Mon Jun 17 16:14:04 2019	(r504429)
+++ head/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp	Mon Jun 17 16:52:50 2019	(r504430)
@@ -1,6 +1,15 @@
 --- ext/nanogui/src/common.cpp.orig	2016-10-15 20:12:12 UTC
 +++ ext/nanogui/src/common.cpp
-@@ -248,7 +248,7 @@ std::string file_dialog(const std::vecto
+@@ -24,7 +24,7 @@
+ #if !defined(_WIN32)
+     #include <locale.h>
+     #include <signal.h>
+-    #include <sys/dir.h>
++    #include <dirent.h>
+ #endif
+ 
+ NAMESPACE_BEGIN(nanogui)
+@@ -248,7 +248,7 @@ std::string file_dialog(const std::vector<std::pair<st
      return std::string(ofn.lpstrFile);
  #else
      char buffer[FILE_DIALOG_MAX_BUFFER];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906171652.x5HGqorq003563>