summaryrefslogtreecommitdiff
path: root/math/openmesh/files/patch-src_OpenMesh_Apps_Subdivider_subdivider.cc
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-03-25 01:00:29 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-03-25 01:00:29 +0000
commitcdbdb979090217b37e35652495f552f1ccd6911e (patch)
tree5b5c17821c8ae8615233bb6af49e9f983dd0a3ea /math/openmesh/files/patch-src_OpenMesh_Apps_Subdivider_subdivider.cc
parentx11-servers/xwayland-devel: update to 1.20.0.877 (diff)
Re-add port: math/openmesh: Update 8.0 -> 8.1
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..3255dd05ece1
--- /dev/null
+++ b/math/openmesh/files/patch-src_OpenMesh_Apps_Subdivider_subdivider.cc
@@ -0,0 +1,12 @@
+--- src/OpenMesh/Apps/Subdivider/subdivider.cc.orig 2020-03-12 13:55:53 UTC
++++ src/OpenMesh/Apps/Subdivider/subdivider.cc
+@@ -43,6 +43,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>