summaryrefslogtreecommitdiff
path: root/math/openmesh/files/patch-src_OpenMesh_Apps_Smoothing_smooth.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_Smoothing_smooth.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_Smoothing_smooth.cc')
-rw-r--r--math/openmesh/files/patch-src_OpenMesh_Apps_Smoothing_smooth.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/openmesh/files/patch-src_OpenMesh_Apps_Smoothing_smooth.cc b/math/openmesh/files/patch-src_OpenMesh_Apps_Smoothing_smooth.cc
new file mode 100644
index 000000000000..cd8a76ebfddf
--- /dev/null
+++ b/math/openmesh/files/patch-src_OpenMesh_Apps_Smoothing_smooth.cc
@@ -0,0 +1,12 @@
+--- src/OpenMesh/Apps/Smoothing/smooth.cc.orig 2020-03-12 13:55:53 UTC
++++ src/OpenMesh/Apps/Smoothing/smooth.cc
+@@ -48,6 +48,9 @@
+ #include <OpenMesh/Tools/Utils/Timer.hh>
+ #include <OpenMesh/Tools/Smoother/JacobiLaplaceSmootherT.hh>
+ #include <OpenMesh/Tools/Utils/getopt.h>
++#if defined(__FreeBSD__)
++#include <unistd.h>
++#endif
+
+
+ using namespace OpenMesh;