summaryrefslogtreecommitdiff
path: root/math/openmesh/files/patch-src_OpenMesh_Apps_Subdivider_subdivider.cc
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-10-22 05:15:14 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-10-22 05:15:14 +0000
commitceaa2cafa4105e6ed8645468cf966e24099fc486 (patch)
treef67d42976fec052d02223f60057d1992b7c6b765 /math/openmesh/files/patch-src_OpenMesh_Apps_Subdivider_subdivider.cc
parentx11-drivers/xorgxrdp: Update to 0.2.8 (diff)
New port: math/openmesh: Generic data structure for manipulating polygonal meshes
Diffstat (limited to 'math/openmesh/files/patch-src_OpenMesh_Apps_Subdivider_subdivider.cc')
-rw-r--r--math/openmesh/files/patch-src_OpenMesh_Apps_Subdivider_subdivider.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/openmesh/files/patch-src_OpenMesh_Apps_Subdivider_subdivider.cc b/math/openmesh/files/patch-src_OpenMesh_Apps_Subdivider_subdivider.cc
new file mode 100644
index 000000000000..74cab1bff5b6
--- /dev/null
+++ b/math/openmesh/files/patch-src_OpenMesh_Apps_Subdivider_subdivider.cc
@@ -0,0 +1,12 @@
+--- src/OpenMesh/Apps/Subdivider/subdivider.cc.orig 2018-10-21 23:37:26 UTC
++++ src/OpenMesh/Apps/Subdivider/subdivider.cc
+@@ -48,6 +48,9 @@
+
+ #include <iostream>
+ #include <sstream>
++#if defined(__FreeBSD__)
++#include <unistd.h>
++#endif
+ // ---------------------------------------- OpenMesh Stuff
+ #include <OpenMesh/Core/IO/MeshIO.hh>
+ #include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>